diff options
Diffstat (limited to 'posix/globtest.sh')
-rwxr-xr-x | posix/globtest.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/posix/globtest.sh b/posix/globtest.sh index 29277a44c9..ea947b855a 100755 --- a/posix/globtest.sh +++ b/posix/globtest.sh @@ -42,9 +42,10 @@ LANG=C export LANG # Create the arena -: ${TMPDIR=/tmp} -testdir=$(mktemp -d $TMPDIR/globtest-dir.XXXXXX) -testout=$(mktemp $TMPDIR/globtest-out.XXXXXX) +testdir=${common_objpfx}posix/globtest-dir +testout=${common_objpfx}posix/globtest-out +rm -rf $testdir $testout +mkdir $testdir trap 'chmod 777 $testdir/noread; rm -fr $testdir $testout' 1 2 3 15 |