aboutsummaryrefslogtreecommitdiff
path: root/bin/sh
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2017-08-13 14:36:10 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2017-08-13 14:36:10 +0000
commit413bf7b083884ea490e327167399411a91eb341b (patch)
tree9c0a4b469237e5149bd501526be3844b0217ff4e /bin/sh
parent06d0095e718a466fb575dcd4708c9b28f25e7589 (diff)
Notes
Diffstat (limited to 'bin/sh')
-rw-r--r--bin/sh/tests/invocation/Makefile1
-rw-r--r--bin/sh/tests/invocation/sh-c-missing1.03
2 files changed, 4 insertions, 0 deletions
diff --git a/bin/sh/tests/invocation/Makefile b/bin/sh/tests/invocation/Makefile
index cd234bb7d42f..b0bf97be9e69 100644
--- a/bin/sh/tests/invocation/Makefile
+++ b/bin/sh/tests/invocation/Makefile
@@ -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
diff --git a/bin/sh/tests/invocation/sh-c-missing1.0 b/bin/sh/tests/invocation/sh-c-missing1.0
new file mode 100644
index 000000000000..6089a6df3eb1
--- /dev/null
+++ b/bin/sh/tests/invocation/sh-c-missing1.0
@@ -0,0 +1,3 @@
+# $FreeBSD$
+
+! echo echo bad | ${SH} -c 2>/dev/null