mirror of
https://github.com/ceph/ceph
synced 2025-01-29 14:34:40 +00:00
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:
parent
e0b94ff38d
commit
e5c262bfe6
@ -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 ...
|
||||
|
Loading…
Reference in New Issue
Block a user