]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test_subman.sh: Don't use --tmpdir 11384/head
authorWillem Jan Withagen <wjw@digiware.nl>
Sun, 9 Oct 2016 23:04:34 +0000 (01:04 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Wed, 2 Nov 2016 10:03:34 +0000 (11:03 +0100)
test_subman.sh: Don't use --tmpdir since on most Linux-is it is consideren default
when creating a directory:
`If TEMPLATE is not specified, use tmp.XXXXXXXXXX, and --tmpdir is implied.`

And on FreeBSD --tmpdir is not available anyways.

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/test/test_subman.sh

index d2cdd529d2f5f83527179bfc0bfd35c3ce7c6035..db4ee9c253458b884722f749601d99c96c630b20 100755 (executable)
@@ -2,7 +2,7 @@
 
 source $(dirname $0)/detect-build-env-vars.sh
 
-TMP=$(mktemp --tmpdir -d)
+TMP=$(mktemp -d)
 trap "rm -fr $TMP" EXIT
 
 export PATH=$TMP:$PATH