xref: /freebsd/bin/sh/tests/builtins/command6.0 (revision a4e5e0106ac7145f56eb39a691e302cabb4635be)
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