From 18e4c15198afa74b056c2e68032d56d346f14d4d Mon Sep 17 00:00:00 2001 From: Bob Proulx Date: Sat, 20 Oct 2007 08:26:57 +0200 Subject: 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. --- tests/misc/help-version | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/misc') 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. -- cgit v1.2.3-54-g00ecf