summary refs log tree commit diff
path: root/bin/cash/tests/execution/hash1.0
blob: dc4b41dd399c2add075e5b1df9681c6985117306 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# $FreeBSD: releng/12.0/bin/sh/tests/execution/hash1.0 218323 2011-02-05 14:01:46Z jilles $

T=`mktemp -d "${TMPDIR:-/tmp}/sh-test.XXXXXXXX"` || exit
trap 'rm -rf "${T}"' 0
PATH=$T:$PATH
ls -ld . >/dev/null
cat <<EOF >"$T/ls"
:
EOF
chmod 755 "$T/ls"
PATH=$PATH
ls -ld .