diff options
author | Jim Meyering <meyering@redhat.com> | 2007-11-01 18:58:17 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2007-11-01 20:13:11 +0100 |
commit | 636f0e101a5e988da9883574f2aba6f6272b16d0 (patch) | |
tree | 6dc83567c93dcb4de7add68bd4b8b74883f958a1 /tests/test-lib.sh | |
parent | d1986f81d0a82b9f5a73a89699ff94559bb7ca16 (diff) | |
download | coreutils-636f0e101a5e988da9883574f2aba6f6272b16d0.tar.xz |
Use mktemp, not mkdtemp, to create test directories.
* tests/test-lib.sh: Use the mktemp binary we've just built,
not the mkdtemp script.
* tests/mkdtemp: Remove file.
* tests/Makefile.am (EXTRA_DIST): Remove mkdtemp.
Diffstat (limited to 'tests/test-lib.sh')
-rw-r--r-- | tests/test-lib.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-lib.sh b/tests/test-lib.sh index 495fd2a05..b90f98ff7 100644 --- a/tests/test-lib.sh +++ b/tests/test-lib.sh @@ -80,7 +80,7 @@ this_test=$(this_test_) # a partition, or to undo any other global state changes. cleanup_() { :; } -t_=$($abs_top_srcdir/tests/mkdtemp $test_dir_ cu-$this_test.XXXXXXXXXX) \ +t_=$($abs_top_builddir/src/mktemp -d --tmp="$test_dir_" cu-$this_test.XXXXXXXXXX)\ || error_ "failed to create temporary directory in $test_dir_" # Run each test from within a temporary sub-directory named after the |