]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - tools/regression/bin/sh/execution/hash1.0
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / tools / regression / bin / sh / execution / hash1.0
1 # $FreeBSD$
2
3 T=`mktemp -d "${TMPDIR:-/tmp}/sh-test.XXXXXXXX"` || exit
4 trap 'rm -rf "${T}"' 0
5 PATH=$T:$PATH
6 ls -ld . >/dev/null
7 cat <<EOF >"$T/ls"
8 :
9 EOF
10 chmod 755 "$T/ls"
11 PATH=$PATH
12 ls -ld .