aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/test1.in
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test1.in')
-rw-r--r--tests/test1.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/test1.in b/tests/test1.in
index 7f60a4da..529baea1 100644
--- a/tests/test1.in
+++ b/tests/test1.in
@@ -121,3 +121,12 @@ echo -e Catch your breath
echo -e 'abc\x21def'
echo -e 'abc\x211def'
+
+function always_fails
+ if true
+ return 1
+ end
+end
+
+always_fails ; echo $status
+