diff --git a/tests/lib.sh b/tests/lib.sh index fb3b374d9..e0b319e11 100644 --- a/tests/lib.sh +++ b/tests/lib.sh @@ -16,7 +16,7 @@ function make_mock_top { if [[ -n "$HARDWIRED_MOCK_TOP" ]]; then MOCK_TOP="$HARDWIRED_MOCK_TOP" else - MOCK_TOP=$(mktemp -t -d st.XXXXX) + MOCK_TOP=$(make_mock_top) trap cleanup_mock_top EXIT fi