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