xref: /freebsd/bin/sh/tests/execution/hash1.0 (revision a64729f5077d77e13b9497cb33ecb3c82e606ee8)
1
2T=`mktemp -d "${TMPDIR:-/tmp}/sh-test.XXXXXXXX"` || exit
3trap 'rm -rf "${T}"' 0
4PATH=$T:$PATH
5ls -ld . >/dev/null
6cat <<EOF >"$T/ls"
7:
8EOF
9chmod 755 "$T/ls"
10PATH=$PATH
11ls -ld .
12