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