diff options
author | Sam James <sam@gentoo.org> | 2022-11-22 01:29:16 +0000 |
---|---|---|
committer | Heiko Becker <mail@heiko-becker.de> | 2022-11-25 19:16:24 +0100 |
commit | 574ee6aa59157baa5a5da462415d7bd48c108554 (patch) | |
tree | e15c883ca6fd325be1c951620a554694cdbc9e77 /test/test_ansi.sh | |
parent | 2e3e9ec52e5082eb68b873fc652031bc0771340c (diff) | |
download | wgetpaste-574ee6aa59157baa5a5da462415d7bd48c108554.tar.gz |
test: respect TMPDIR in mktemp (pass --tmpdir)
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'test/test_ansi.sh')
-rwxr-xr-x | test/test_ansi.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |