Use build directory instead of /tmp in globtest.sh.
This commit is contained in:
parent
3a8db22f07
commit
0708a7d1f0
|
@ -1,3 +1,9 @@
|
||||||
|
2012-10-24 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
* posix/globtest.sh (TMPDIR): Do not set.
|
||||||
|
(testdir): Define using ${common_objpfx}posix not $TMPDIR.
|
||||||
|
(testout): Likewise.
|
||||||
|
|
||||||
2012-10-24 Andreas Jaeger <aj@suse.de>
|
2012-10-24 Andreas Jaeger <aj@suse.de>
|
||||||
|
|
||||||
* io/fcntl.h: Always define mode_t, off_t, pid_t and use these
|
* io/fcntl.h: Always define mode_t, off_t, pid_t and use these
|
||||||
|
|
|
@ -42,9 +42,10 @@ LANG=C
|
||||||
export LANG
|
export LANG
|
||||||
|
|
||||||
# Create the arena
|
# Create the arena
|
||||||
: ${TMPDIR=/tmp}
|
testdir=${common_objpfx}posix/globtest-dir
|
||||||
testdir=$(mktemp -d $TMPDIR/globtest-dir.XXXXXX)
|
testout=${common_objpfx}posix/globtest-out
|
||||||
testout=$(mktemp $TMPDIR/globtest-out.XXXXXX)
|
rm -rf $testdir $testout
|
||||||
|
mkdir $testdir
|
||||||
|
|
||||||
trap 'chmod 777 $testdir/noread; rm -fr $testdir $testout' 1 2 3 15
|
trap 'chmod 777 $testdir/noread; rm -fr $testdir $testout' 1 2 3 15
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue