From 9298c37a78b5795ba2620b4c8b64707fb0ad5bf3 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 15 Sep 2015 17:54:02 -0400 Subject: tests.sh: Use a more portable mktemp form. --- tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests.sh b/tests.sh index 9c7c397..f7eb428 100755 --- a/tests.sh +++ b/tests.sh @@ -58,7 +58,7 @@ function test_0007() { } for i in {1..7}; do - dir="$(mktemp -d)" + dir="$(mktemp -d "${TMPDIR:-/tmp}"/bfs.XXXXXXXXXX)" test="test_$(printf '%04d' $i)" "$test" "$dir" status=$? -- cgit v1.2.3