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