xref: /freebsd/bin/sh/tests/builtins/command6.0 (revision 5e3190f700637fcfc1a52daeaa4a031fdd2557c7)
1PATH=/var/empty
2case $(command -pV ls) in
3*/var/empty/ls*)
4	echo "Failed: \$(command -pV ls) should not match */var/empty/ls*" ;;
5"ls is"*" "/*/ls) ;;
6*)
7	echo "Failed: \$(command -pV ls) match \"ls is\"*\" \"/*/ls" ;;
8esac
9command -pV true
10command -pV /bin/ls
11
12fun() {
13	:
14}
15command -pV fun
16command -pV break
17command -pV if
18command -pV {
19
20alias foo=bar
21command -pV foo
22