1 # make sure that bash really checks the right things when deciding what
2 # constitutes an executable file
4 [ $UID -eq 0 ] && { echo "exec7.sub: the test suite should not be run as root" >&2 ; }
8 cd $TMPDIR || { echo "cannot cd to $TMPDIR" >&2 ; exit 2; }
12 echo 'echo "testa"' > testa/foo
13 echo 'echo "testb"' > testb/foo
18 PATH=$TMPDIR/testa:$TMPDIR/testb $THIS_SH -c foo