diff --git a/scripts/test.sh b/scripts/test.sh index a87a6f2c0..7a751fe67 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Create a temp dir and clean it up on exit -TEMPDIR=`mktemp -d -t consul-test` +TEMPDIR=`mktemp -d -t consul-test.XXX` trap "rm -rf $TEMPDIR" EXIT HUP INT QUIT TERM # Build the Consul binary for the API tests