]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Use build directory instead of `pwd` in ftwtest-sh.
authorJoseph Myers <joseph@codesourcery.com>
Wed, 24 Oct 2012 11:48:00 +0000 (11:48 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 24 Oct 2012 11:48:00 +0000 (11:48 +0000)
ChangeLog
io/ftwtest-sh

index 905c41371555fda5ffc900d275b2c6cc5a594abc..d0dd89d5a15a99dfa3591a52ccd1aa17ef163529 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
 
+       * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
+
        * posix/globtest.sh (TMPDIR): Do not set.
        (testdir): Define using ${common_objpfx}posix not $TMPDIR.
        (testout): Likewise.
index adc66678d23f2f3b3f547a1326c7ecb9278d61c5..3bbf3061ef7ab7b088858ff64e0b54678ed35bcf 100644 (file)
@@ -44,7 +44,7 @@ LANG=C
 export LANG
 
 # First create our scenario:
-tmp=`pwd | sed 's|\(.\)/*$|\1|'`
+tmp=${objpfx}io
 tmpdir=$tmp/ftwtest.d
 
 trap 'chmod -fR a+x $tmpdir; rm -fr $tmpdir $testout' 1 2 3 15