]> sourceware.org Git - glibc.git/commitdiff
Use build directory instead of /tmp in globtest.sh.
authorJoseph Myers <joseph@codesourcery.com>
Wed, 24 Oct 2012 11:47:16 +0000 (11:47 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 24 Oct 2012 11:47:16 +0000 (11:47 +0000)
ChangeLog
posix/globtest.sh

index f67a38fc5d578bfd0304d8ecf7acf1c816b0286f..905c41371555fda5ffc900d275b2c6cc5a594abc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
index 29277a44c926a81d449d2ef7f320a1928f175fb4..ea947b855a8f775153fc908f2949040401664fd1 100755 (executable)
@@ -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
 
This page took 0.107169 seconds and 5 git commands to generate.