From 18e4c15198afa74b056c2e68032d56d346f14d4d Mon Sep 17 00:00:00 2001 From: Bob Proulx Date: Sat, 20 Oct 2007 08:26:57 +0200 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ tests/misc/help-version | 3 +++ 2 files changed, 9 insertions(+) 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. -- 2.47.2