sh: Add test for sh -c with missing command string.
This already works correctly.
This commit is contained in:
parent
06d0095e71
commit
413bf7b083
@ -8,6 +8,7 @@ TESTSDIR= ${TESTSBASE}/bin/sh/${.CURDIR:T}
|
||||
ATF_TESTS_SH= functional_test
|
||||
|
||||
${PACKAGE}FILES+= sh-ac1.0
|
||||
${PACKAGE}FILES+= sh-c-missing1.0
|
||||
${PACKAGE}FILES+= sh-c1.0
|
||||
${PACKAGE}FILES+= sh-ca1.0
|
||||
${PACKAGE}FILES+= sh-fca1.0
|
||||
|
3
bin/sh/tests/invocation/sh-c-missing1.0
Normal file
3
bin/sh/tests/invocation/sh-c-missing1.0
Normal file
@ -0,0 +1,3 @@
|
||||
# $FreeBSD$
|
||||
|
||||
! echo echo bad | ${SH} -c 2>/dev/null
|
Loading…
Reference in New Issue
Block a user