summaryrefslogtreecommitdiffstats
path: root/tests/exec3.sub
diff options
context:
space:
mode:
Diffstat (limited to 'tests/exec3.sub')
-rw-r--r--tests/exec3.sub6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/exec3.sub b/tests/exec3.sub
new file mode 100644
index 0000000..4f2f8e2
--- /dev/null
+++ b/tests/exec3.sub
@@ -0,0 +1,6 @@
+shopt -s execfail
+
+exec /tmp/bash-notthere
+# make sure we're still around
+echo $?
+