summary refs log tree commit diff
path: root/bin/1sh/tests/set-e/func2.1
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/1sh/tests/set-e/func2.17
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/1sh/tests/set-e/func2.1 b/bin/1sh/tests/set-e/func2.1
new file mode 100644
index 00000000..1ac1b46f
--- /dev/null
+++ b/bin/1sh/tests/set-e/func2.1
@@ -0,0 +1,7 @@
+# $FreeBSD: releng/12.1/bin/sh/tests/set-e/func2.1 149791 2005-09-05 09:42:10Z stefanf $
+set -e
+f() {
+	false
+	exit 0
+}
+f