]> git.saurik.com Git - apple/shell_cmds.git/blame - sh/tests/builtins/command6.0
shell_cmds-203.tar.gz
[apple/shell_cmds.git] / sh / tests / builtins / command6.0
CommitLineData
deb63bfb 1# $FreeBSD: head/bin/sh/tests/builtins/command6.0 218356 2011-02-05 23:00:24Z jilles $
71aad674
A
2PATH=/var/empty
3case $(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" ;;
9esac
10command -pV true
11command -pV /bin/ls
12
13fun() {
14 :
15}
16command -pV fun
17command -pV break
18command -pV if
19command -pV {
20
21alias foo=bar
22command -pV foo