]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Prevent "make check" from leaving mktemp /tmp/tmp.* files behind.
authorBob Proulx <bob@proulx.com>
Sat, 20 Oct 2007 06:26:57 +0000 (08:26 +0200)
committerJim Meyering <meyering@redhat.com>
Sat, 20 Oct 2007 06:26:57 +0000 (08:26 +0200)
* tests/misc/help-version (mktemp_args): Tell mktemp to create
its temporary file in the current directory.

ChangeLog
tests/misc/help-version

index eba6c872f58da768207a81e92dc69d8da23d6a98..e85b63c80b8929ae15a646dc2f6add970723911f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-10-20  Bob Proulx  <bob@proulx.com>
+
+       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  <meyering@redhat.com>
 
        Show how to make tee redirect to multiple processes.
index d2eb04db55cb8c9fe6b4f6e9b1f70f68a9221878..071d83f3b2adc803c74319e6098e7874e9042352 100755 (executable)
@@ -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.