xref: /freebsd/bin/sh/tests/execution/hash1.0 (revision 02e9120893770924227138ba49df1edb3896112a)
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