From: Bob Proulx Date: Sat, 20 Oct 2007 06:26:57 +0000 (+0200) Subject: Prevent "make check" from leaving mktemp /tmp/tmp.* files behind. X-Git-Tag: v6.9.89~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18e4c15198afa74b056c2e68032d56d346f14d4d;p=thirdparty%2Fcoreutils.git Prevent "make check" from leaving mktemp /tmp/tmp.* files behind. * tests/misc/help-version (mktemp_args): Tell mktemp to create its temporary file in the current directory. --- diff --git a/ChangeLog b/ChangeLog index eba6c872f5..e85b63c80b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-10-20 Bob Proulx + + Prevent "make check" from leaving mktemp /tmp/tmp.* files behind. + * tests/misc/help-version (mktemp_args): Tell mktemp to create + its temporary file in the current directory. + 2007-10-16 Jim Meyering Show how to make tee redirect to multiple processes. diff --git a/tests/misc/help-version b/tests/misc/help-version index d2eb04db55..071d83f3b2 100755 --- a/tests/misc/help-version +++ b/tests/misc/help-version @@ -136,6 +136,9 @@ mknod_args=--version # on some systems, and we shouldn't let that stop `make check'. uptime_args=--version +# Create a file in the current directory, not in $TMPDIR. +mktemp_args=mktemp.XXXX + cmp_args="$tmp_in $tmp_in2" # Tell dd not to print the line with transfer rate and total.