]> git.saurik.com Git - apple/shell_cmds.git/blob - sh/tests/builtins/command6.0
shell_cmds-216.60.1.tar.gz
[apple/shell_cmds.git] / sh / tests / builtins / command6.0
1 # $FreeBSD: head/bin/sh/tests/builtins/command6.0 218356 2011-02-05 23:00:24Z jilles $
2 PATH=/var/empty
3 case $(command -pV ls) in
4 */var/empty/ls*)
5 echo "Failed: \$(command -pV ls) should not match */var/empty/ls*" ;;
6 "ls is"*" "/*/ls) ;;
7 *)
8 echo "Failed: \$(command -pV ls) match \"ls is\"*\" \"/*/ls" ;;
9 esac
10 command -pV true
11 command -pV /bin/ls
12
13 fun() {
14 :
15 }
16 command -pV fun
17 command -pV break
18 command -pV if
19 command -pV {
20
21 alias foo=bar
22 command -pV foo