From 58ddd2c5a1a80b1c3ef6d1717842d082d24409cf Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 29 Aug 2007 00:17:27 +0200 Subject: Ensure that TMPDIR is valid. Otherwise, it would cause test failures. * tests/misc/tty-eof: Set TMPDIR=. * tests/misc/sort-compress: Likewise. --- tests/misc/sort-compress | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/misc/sort-compress') diff --git a/tests/misc/sort-compress b/tests/misc/sort-compress index fe460bb1b..568bfa762 100755 --- a/tests/misc/sort-compress +++ b/tests/misc/sort-compress @@ -38,6 +38,9 @@ if test $framework_failure = 1; then (exit 1); exit 1 fi +# Ensure that $TMPDIR is valid. +TMPDIR=.; export TMPDIR + fail=0 # This should force the use of temp files compressed with the default gzip -- cgit v1.2.3-54-g00ecf