summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rwxr-xr-xtests/misc/help-version3
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index eba6c872f..e85b63c80 100644
--- 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.
diff --git a/tests/misc/help-version b/tests/misc/help-version
index d2eb04db5..071d83f3b 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.