Add regression tests for exec.c rev 1.30.

This commit is contained in:
Stefan Farfeleder 2007-01-11 00:25:20 +00:00
parent f30842ba79
commit 9bb8020ab3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=165931
4 changed files with 12 additions and 3 deletions

View File

@ -1,2 +0,0 @@
# $FreeBSD$
command -V nonexisting

View File

@ -1 +0,0 @@
nonexisting: not found

View File

@ -0,0 +1,8 @@
# $FreeBSD$
command -v not-here && exit 1
command -v /not-here && exit 1
command -V not-here && exit 1
command -V /not-here && exit 1
type not-here && exit 1
type /not-here && exit 1
exit 0

View File

@ -0,0 +1,4 @@
not-here: not found
/not-here: No such file or directory
not-here: not found
/not-here: No such file or directory