freebsd-dev/tools/regression/bin/sh/builtins/command3.0
Stefan Farfeleder 94cfb3d24c Add test cases for the command built-in, including its -v and -V options which
I'll commit real soon.

Count the number of found test cases instead of hard-coding them.  Allow an
arbitrary exit status.
2005-10-28 14:02:42 +00:00

14 lines
148 B
Plaintext

# $FreeBSD$
command -v ls
command -v true
command -v /bin/ls
fun() {
}
command -v fun
command -v break
command -v if
alias foo=bar
command -v foo