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