summaryrefslogtreecommitdiff
path: root/tests/misc/tty-eof
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-08-29 00:17:27 +0200
committerJim Meyering <jim@meyering.net>2007-08-29 00:17:27 +0200
commit58ddd2c5a1a80b1c3ef6d1717842d082d24409cf (patch)
treeb299f57213e63b86d7ebd270b9881e6d6c3df2e3 /tests/misc/tty-eof
parent35755454e45a6cbab4c711353131df483d89a979 (diff)
downloadcoreutils-58ddd2c5a1a80b1c3ef6d1717842d082d24409cf.tar.xz
Ensure that TMPDIR is valid. Otherwise, it would cause test failures.
* tests/misc/tty-eof: Set TMPDIR=. * tests/misc/sort-compress: Likewise.
Diffstat (limited to 'tests/misc/tty-eof')
-rwxr-xr-xtests/misc/tty-eof3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/misc/tty-eof b/tests/misc/tty-eof
index 7567caa8c..8cd2921fc 100755
--- a/tests/misc/tty-eof
+++ b/tests/misc/tty-eof
@@ -25,6 +25,9 @@ $PERL -e 1 > /dev/null 2>&1 || {
exit 77
}
+# Ensure that $TMPDIR is valid.
+TMPDIR=.; export TMPDIR
+
ARGV_0=$0
export ARGV_0