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