From: Joseph Myers Date: Wed, 24 Oct 2012 11:48:00 +0000 (+0000) Subject: Use build directory instead of `pwd` in ftwtest-sh. X-Git-Tag: glibc-2.17~360 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=10b40d85672e13032422572f2106752b31ed1704;p=thirdparty%2Fglibc.git Use build directory instead of `pwd` in ftwtest-sh. --- diff --git a/ChangeLog b/ChangeLog index 905c4137155..d0dd89d5a15 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2012-10-24 Joseph Myers + * 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. diff --git a/io/ftwtest-sh b/io/ftwtest-sh index adc66678d23..3bbf3061ef7 100644 --- a/io/ftwtest-sh +++ b/io/ftwtest-sh @@ -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