From: Ben Pfaff Date: Sun, 7 Mar 2021 00:39:20 +0000 (-0800) Subject: tests: Ignore .pspprc in a different way, to fix running TeX on Fedora. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=739078578d9a2e4cfb89d1de8065701a0762d76d;p=pspp tests: Ignore .pspprc in a different way, to fix running TeX on Fedora. On Fedora, the 'tex' program generates per-user formats in the user's home directory. With the way that atlocal previously set $HOME to /nonexistent, this failed, because formats can't be found or created in /nonexistent. This fixes the problem by using a different way to avoid making pspp look for .pspprc. --- diff --git a/tests/atlocal.in b/tests/atlocal.in index 5ba794cdd0..66292efe04 100644 --- a/tests/atlocal.in +++ b/tests/atlocal.in @@ -65,8 +65,8 @@ export GZIP WINEPREFIX=$HOME/.wine # Work around the following kludge to keep wine happy export WINEPREFIX -HOME=/nonexistent # Kluge to make PSPP ignore $HOME/.pspprc. -export HOME +# Make PSPP ignore $HOME/.pspprc. +alias pspp='pspp --no-statrc' # Avoids error messages during tests if $TERM is set to an unknown terminal. TERM=; unset TERM