diff options
Diffstat (limited to 'tests/test1.in')
-rw-r--r-- | tests/test1.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test1.in b/tests/test1.in index 1a701695..a66bf598 100644 --- a/tests/test1.in +++ b/tests/test1.in @@ -83,6 +83,11 @@ else end echo Test 4 $sta +# Ensure eval doesn't unnecessarily mess with the exit status +function empty_func ; end +false ; eval empty_func ; echo $status +true ; eval empty_func ; echo $status + function test_builtin_status return 1 end |