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