aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extglob.tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests/extglob.tests')
-rw-r--r--tests/extglob.tests3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/extglob.tests b/tests/extglob.tests
index eb26d55..f9c17c7 100644
--- a/tests/extglob.tests
+++ b/tests/extglob.tests
@@ -193,7 +193,8 @@ esac
MYDIR=$PWD # save where we are
-TESTDIR=/tmp/eglob-test-$$
+: ${TMPDIR:=/var/tmp}
+TESTDIR=$TMPDIR/eglob-test-$$
mkdir $TESTDIR
builtin cd $TESTDIR || { echo $0: cannot cd to $TESTDIR >&2 ; exit 1; }
rm -rf *