summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-12-13 10:05:06 -0800
committerGuy Harris <guy@alum.mit.edu>2015-12-13 18:05:36 +0000
commite01f8fb3ad4e635a09f8beb88cb1fcc0baeb0232 (patch)
tree07b84701bc61165d47e7f278fb1a958f49a364fa /test
parenta7fd6f2083443a5e88b649aa4c54fe6322f8cbe0 (diff)
downloadwireshark-e01f8fb3ad4e635a09f8beb88cb1fcc0baeb0232.tar.gz
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 <guy@alum.mit.edu>
Diffstat (limited to 'test')
-rwxr-xr-xtest/test.sh2
1 files changed, 1 insertions, 1 deletions
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...