diff options
author | Bob Proulx <bob@proulx.com> | 2007-10-20 08:26:57 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2007-10-20 08:26:57 +0200 |
commit | 18e4c15198afa74b056c2e68032d56d346f14d4d (patch) | |
tree | ef6a3cdbd3c0708a7c692d197fcd22137d7e445c /tests | |
parent | 2a0e737cfd1a95808caf81c2a30d227b8af2751d (diff) | |
download | coreutils-18e4c15198afa74b056c2e68032d56d346f14d4d.tar.xz |
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.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/misc/help-version | 3 |
1 files changed, 3 insertions, 0 deletions
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. |