diff options
author | Grissiom <chaos.proton@gmail.com> | 2010-11-24 00:35:56 +0800 |
---|---|---|
committer | Grissiom <chaos.proton@gmail.com> | 2010-11-24 00:35:56 +0800 |
commit | 9b97c55546dfae247f0bc2f785552243fdc3738a (patch) | |
tree | 002662c848ee4f3f86c53d417a82ebbbbfb8db0c /tests/test1.in | |
parent | 364d3dbbf8de049ab48220de6322cf004457612b (diff) |
add test case for 364d3dbbf8d
Diffstat (limited to 'tests/test1.in')
-rw-r--r-- | tests/test1.in | 11 |
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 |