From e01f8fb3ad4e635a09f8beb88cb1fcc0baeb0232 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 13 Dec 2015 10:05:06 -0800 Subject: Explicitly specify the template for the mktemp command. Not all versions of mktemp support omitting the template; in particular, the one provided by some BSD-flavored OSes don't. Change-Id: I657e002559dce165c677a473aa10bb17cc506037 Reviewed-on: https://code.wireshark.org/review/12592 Reviewed-by: Guy Harris --- test/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/test.sh b/test/test.sh index 73a2007b0d..67abab7d81 100755 --- a/test/test.sh +++ b/test/test.sh @@ -77,7 +77,7 @@ source $MYDIR/test-backend.sh source $MYDIR/config.sh # needed by some tests -TEST_OUTDIR=$(mktemp -d) +TEST_OUTDIR=$(mktemp -d wstest.XXXXXXXXXX) TEST_OUTDIR_CLEAN=${TEST_OUTDIR_CLEAN:-1} if [ -z "$TEST_OUTDIR" ] || ! cd "$TEST_OUTDIR"; then # If for any reason the temporary tests output directory cannot be created... -- cgit v1.2.1