externalTests: Use named tmp dirs

This commit is contained in:
Kamil Śliwak 2021-10-26 12:50:30 +02:00
parent ed907561eb
commit bc2402e76f

View File

@ -251,7 +251,7 @@ function external_test
printTask "Testing $name..." printTask "Testing $name..."
echo "===========================" echo "==========================="
DIR=$(mktemp -d) DIR=$(mktemp -d -t "ext-test-${name}-XXXXXX")
( (
if [ -z "$main_fn" ]; then if [ -z "$main_fn" ]; then
printError "Test main function not defined." printError "Test main function not defined."