diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2014-02-07 17:56:40 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2014-02-07 17:57:53 -0800 |
commit | e632d39b1f627773b29f7934d7d79545af75e47f (patch) | |
tree | 2222b1a5364128f8e7812ecbbc33f310ba59c6dd /tests/test8.in | |
parent | 09054a09fa8aef98229ea132f9043ead7f7e1e0e (diff) |
Make if statements always return success at the end, matching other
shells. Fixes #1061.
Diffstat (limited to 'tests/test8.in')
-rw-r--r-- | tests/test8.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test8.in b/tests/test8.in index c3c73384..a31ad127 100644 --- a/tests/test8.in +++ b/tests/test8.in @@ -23,3 +23,7 @@ echo (seq $n)[3..5 -2..2] echo Test more echo $test[(count $test)..1] echo $test[1..(count $test)] + +# See issue 1061 +echo "Verify that if statements swallow failure" +if false ; end ; echo $status |