From e5c262bfe646ed5b19db93c93328e7ff62c42e5d Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Fri, 15 Jul 2016 14:21:50 +0800 Subject: [PATCH] qa/workunits/cephtool/test.sh: use mktemp $TEMP_DIR/XXX instead mktemp -p is not supported on FreeBSD Signed-off-by: Kefu Chai --- qa/workunits/cephtool/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index 47f04f44e47..e6bb452f2ec 100755 --- a/qa/workunits/cephtool/test.sh +++ b/qa/workunits/cephtool/test.sh @@ -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 ...