diff options
-rwxr-xr-x | test/test.sh | 2 | ||||
-rwxr-xr-x | test/test_ansi.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/test.sh b/test/test.sh index 5652baa..4f03070 100755 --- a/test/test.sh +++ b/test/test.sh @@ -7,7 +7,7 @@ # Don't assume the test is being run from the same directory as the script TEST_DIR="$(dirname "$0")" TEST_FILE="$TEST_DIR/test.txt" -DL_DIR="$(mktemp -q -d /tmp/wgetpaste_test.XXXXX)" +DL_DIR="$(mktemp -q --tmpdir -d wgetpaste_test.XXXXX)" # Services to hard skip # Pre-declare as map to maintain type even if empty # key -> value := service -> reason diff --git a/test/test_ansi.sh b/test/test_ansi.sh index ce01c0c..6b559f9 100755 --- a/test/test_ansi.sh +++ b/test/test_ansi.sh @@ -9,7 +9,7 @@ TEST_DIR="$(dirname "$0")" ANSI_FILE="$TEST_DIR/red.txt" NOANSI_FILE="$TEST_DIR/red_no_ansi.txt" -DL_DIR="$(mktemp -q -d /tmp/wgetpaste_test_ansi.XXXXX)" +DL_DIR="$(mktemp -q --tmpdir -d wgetpaste_test_ansi.XXXXX)" # Services to hard skip # Pre-declare as map to maintain type even if empty # key -> value := service -> reason |