summaryrefslogtreecommitdiff
path: root/usr.bin/make/unit-tests/varshell.exp
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/make/unit-tests/varshell.exp')
-rw-r--r--usr.bin/make/unit-tests/varshell.exp12
1 files changed, 12 insertions, 0 deletions
diff --git a/usr.bin/make/unit-tests/varshell.exp b/usr.bin/make/unit-tests/varshell.exp
new file mode 100644
index 0000000..6ac8c88
--- /dev/null
+++ b/usr.bin/make/unit-tests/varshell.exp
@@ -0,0 +1,12 @@
+sh: /bin/no/such/command: not found
+make: "varshell.mk" line 5: warning: "/bin/no/such/command" returned non-zero status
+make: "varshell.mk" line 6: warning: "kill -14 $$" exited on a signal
+make: "varshell.mk" line 7: warning: "false" returned non-zero status
+make: "varshell.mk" line 8: warning: "echo "output before the error"; false" returned non-zero status
+EXEC_FAILED=''
+TERMINATED_BY_SIGNAL=''
+ERROR_NO_OUTPUT=''
+ERROR_WITH_OUTPUT='output before the error'
+NO_ERROR_NO_OUTPUT=''
+NO_ERROR_WITH_OUTPUT='this is good'
+exit status 0