1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-08-05 08:10:15 +02:00

Ensure that TMPDIR is valid. Otherwise, it would cause test failures.

* tests/misc/tty-eof: Set TMPDIR=.
* tests/misc/sort-compress: Likewise.
This commit is contained in:
Jim Meyering
2007-08-29 00:17:27 +02:00
parent 35755454e4
commit 58ddd2c5a1
3 changed files with 10 additions and 0 deletions
+4
View File
@@ -1,5 +1,9 @@
2007-08-29 Jim Meyering <jim@meyering.net>
Ensure that TMPDIR is valid. Otherwise, it would cause test failures.
* tests/misc/tty-eof: Set TMPDIR=.
* tests/misc/sort-compress: Likewise.
Use EXIT_FAILURE, not EXIT_FAIL, now that EXIT_FAILURE is always 1.
* src/system.h (EXIT_FAIL): Remove definition.
* src/chroot.c (main): EXIT_FAIL -> EXIT_FAILURE.
+3
View File
@@ -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
+3
View File
@@ -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