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