aboutsummaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-10-19 20:01:45 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-10-19 20:01:45 +0000
commitd528cdcfdef2f0eb3932749aa9894db7c18101f4 (patch)
tree05fb5c5382a79e170200230ab5337e1b6db8f213 /io
parent135948bd500067d766a8bbe0bee0e37d8e491681 (diff)
downloadglibc-d528cdcfdef2f0eb3932749aa9894db7c18101f4.tar
glibc-d528cdcfdef2f0eb3932749aa9894db7c18101f4.tar.gz
glibc-d528cdcfdef2f0eb3932749aa9894db7c18101f4.tar.bz2
glibc-d528cdcfdef2f0eb3932749aa9894db7c18101f4.zip
Use working directory, not /tmp, in io/ftwtest-sh.
Diffstat (limited to 'io')
-rw-r--r--io/ftwtest-sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/io/ftwtest-sh b/io/ftwtest-sh
index 1822ea7fcd..93b2e669fb 100644
--- a/io/ftwtest-sh
+++ b/io/ftwtest-sh
@@ -44,7 +44,7 @@ LANG=C
export LANG
# First create our scenario:
-tmp=`echo ${TMPDIR:-/tmp} | sed 's|\(.\)/*$|\1|'`
+tmp=`pwd | sed 's|\(.\)/*$|\1|'`
tmpdir=$tmp/ftwtest.d
[ -f ${objpfx}elf/ld.so ] && ldso=${objpfx}elf/ld.so
@@ -71,7 +71,7 @@ ln -s $tmpdir/foo/lvl1/lvl2/lvl3/lvl4 $tmpdir/foo/lvl1/link@1
echo > $tmpdir/bar/xo
chmod a-x,a+r $tmpdir/bar
-testout=${TMPDIR:-/tmp}/ftwtest.out
+testout=$tmp/ftwtest.out
LD_LIBRARY_PATH=$objpfx $ldso $testprogram $tmpdir |
sort > $testout