aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/test1.in
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test1.in')
-rw-r--r--tests/test1.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/test1.in b/tests/test1.in
index 9cf80a12..ff3ef778 100644
--- a/tests/test1.in
+++ b/tests/test1.in
@@ -62,3 +62,14 @@ else
set sta fail
end
echo Test 4 $sta
+
+function test_builtin_status
+ return 1
+end
+test_builtin_status
+if [ $status -eq 1 ]
+ set sta pass
+else
+ set sta fail
+end
+echo Test 5 $sta