summaryrefslogtreecommitdiff
path: root/usr.bin/make/unit-tests/doterror.exp
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/make/unit-tests/doterror.exp')
-rw-r--r--usr.bin/make/unit-tests/doterror.exp9
1 files changed, 9 insertions, 0 deletions
diff --git a/usr.bin/make/unit-tests/doterror.exp b/usr.bin/make/unit-tests/doterror.exp
new file mode 100644
index 0000000..5655644
--- /dev/null
+++ b/usr.bin/make/unit-tests/doterror.exp
@@ -0,0 +1,9 @@
+At first, I am
+happy
+and now: sad
+*** Error code 1
+
+Stop.
+make: stopped in unit-tests
+.ERROR: Looks like 'sad' is upset.
+exit status 1