Use build directory instead of pwd in ftwtest-sh.

This commit is contained in:
Joseph Myers 2012-10-24 11:48:00 +00:00
parent 0708a7d1f0
commit 10b40d8567
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2012-10-24 Joseph Myers <joseph@codesourcery.com> 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. * posix/globtest.sh (TMPDIR): Do not set.
(testdir): Define using ${common_objpfx}posix not $TMPDIR. (testdir): Define using ${common_objpfx}posix not $TMPDIR.
(testout): Likewise. (testout): Likewise.

View File

@ -44,7 +44,7 @@ LANG=C
export LANG export LANG
# First create our scenario: # First create our scenario:
tmp=`pwd | sed 's|\(.\)/*$|\1|'` tmp=${objpfx}io
tmpdir=$tmp/ftwtest.d tmpdir=$tmp/ftwtest.d
trap 'chmod -fR a+x $tmpdir; rm -fr $tmpdir $testout' 1 2 3 15 trap 'chmod -fR a+x $tmpdir; rm -fr $tmpdir $testout' 1 2 3 15