X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fatlocal.in;h=f011d0849b59671a5770d52af50bcd09010c7669;hb=71e85c65ff77bfad164cf21069c361a557eb9da8;hp=29886a0cd22508023c75f272951961e945241787;hpb=26f3ffbb107db482e1f1f83dbea913462c56ba81;p=pspp diff --git a/tests/atlocal.in b/tests/atlocal.in index 29886a0cd2..f011d0849b 100644 --- a/tests/atlocal.in +++ b/tests/atlocal.in @@ -36,8 +36,19 @@ export CHARSETALIASDIR GZIP= 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 # Avoids error messages during tests if $TERM is set to an unknown terminal. TERM=; unset TERM + +pspp_diff=`which diff` +if test X"$RUNNER" = Xwine; then + diff () { + $pspp_diff -w "$@" + } +fi