aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/compat-error.exp
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/compat-error.exp')
-rw-r--r--unit-tests/compat-error.exp15
1 files changed, 15 insertions, 0 deletions
diff --git a/unit-tests/compat-error.exp b/unit-tests/compat-error.exp
new file mode 100644
index 000000000000..256cb6d4361c
--- /dev/null
+++ b/unit-tests/compat-error.exp
@@ -0,0 +1,15 @@
+: Making success1 out of nothing.
+: Making fail1 out of nothing.
+false 'fail1' '${.TARGET}' '$${.TARGET}'
+*** Error code 1 (continuing)
+: Making success2 out of nothing.
+: Making fail2 out of nothing.
+false 'fail2' '${.TARGET}' '$${.TARGET}'
+*** Error code 1 (continuing)
+: Making success3 out of nothing.
+
+Stop.
+make: stopped in unit-tests
+.ERROR target: <fail1>
+.ERROR command: <>
+exit status 1