diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-10-24 11:47:16 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-10-24 11:47:16 +0000 |
commit | 0708a7d1f08d12da03bbaac84e59370f75030d95 (patch) | |
tree | 8b99b98af5c13b71ca3c42f56b0a50e1cd4250fc /posix | |
parent | 3a8db22f07e2ab5373d4a366672a7a7b158ada96 (diff) | |
download | glibc-0708a7d1f08d12da03bbaac84e59370f75030d95.zip glibc-0708a7d1f08d12da03bbaac84e59370f75030d95.tar.gz glibc-0708a7d1f08d12da03bbaac84e59370f75030d95.tar.bz2 |
Use build directory instead of /tmp in globtest.sh.
Diffstat (limited to 'posix')
-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 29277a4..ea947b8 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 |