qa/workunits/cephtool/test.sh: use mktemp $TEMP_DIR/XXX instead

mktemp -p is not supported on FreeBSD

Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2016-07-15 14:21:50 +08:00
parent e0b94ff38d
commit e5c262bfe6

View File

@ -36,7 +36,7 @@ function expect_false()
TEMP_DIR=$(mktemp -d cephtool.XXX)
trap "rm -fr $TEMP_DIR" 0
TMPFILE=$(mktemp -p $TEMP_DIR test_invalid.XXX)
TMPFILE=$(mktemp $TEMP_DIR/test_invalid.XXX)
#
# retry_eagain max cmd args ...