aboutsummaryrefslogtreecommitdiff
path: root/contrib/bmake/unit-tests/posix-execution.exp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/bmake/unit-tests/posix-execution.exp')
-rw-r--r--contrib/bmake/unit-tests/posix-execution.exp24
1 files changed, 24 insertions, 0 deletions
diff --git a/contrib/bmake/unit-tests/posix-execution.exp b/contrib/bmake/unit-tests/posix-execution.exp
new file mode 100644
index 000000000000..e455adaf98d7
--- /dev/null
+++ b/contrib/bmake/unit-tests/posix-execution.exp
@@ -0,0 +1,24 @@
+one-at-a-time: shell_variable is 'second'
+echo "prefixes: ignore errors"; exit 13
+prefixes: ignore errors
+*** Error code 13 (ignored)
+prefixes: no echo
+prefixes: always, no echo
+shell-e-option: before
+shell-e-option: after
+echo 'do-prefix-plus: a regular command'
+echo 'do-prefix-plus: prefixed by plus'
+do-prefix-plus: prefixed by plus
+echo 'do-prefix-plus: a regular command'
+{ echo 'do-prefix-plus: a regular command'
+} || exit $?
+echo 'do-prefix-plus: prefixed by plus'
+do-prefix-plus: prefixed by plus
+{ echo 'do-prefix-plus: a regular command'
+} || exit $?
+do-error-not-ignored: successful
+*** Error code 13 (continuing)
+
+Stop.
+make: stopped making "do-error-not-ignored" in unit-tests
+exit status 0