From 739078578d9a2e4cfb89d1de8065701a0762d76d Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sat, 6 Mar 2021 16:39:20 -0800 Subject: [PATCH] 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. --- tests/atlocal.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2