diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2013-01-31 15:57:08 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2013-01-31 15:57:08 -0800 |
commit | ad8d68dd4390753901b5e1dae4b4c4b44be7fcea (patch) | |
tree | 5b8f5e3ca3d698dd7ae764f2833ab7b91726fd93 /tests/test4.out | |
parent | 0db1b6ce44b2dcae94a4d33c04b606ef819bb78b (diff) |
Make subcommands modify $status, and make builtin_set not modify status unless it fails
https://github.com/fish-shell/fish-shell/issues/547
https://github.com/fish-shell/fish-shell/issues/214
Diffstat (limited to 'tests/test4.out')
-rw-r--r-- | tests/test4.out | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/test4.out b/tests/test4.out index 5a14f80a..148d870c 100644 --- a/tests/test4.out +++ b/tests/test4.out @@ -20,3 +20,17 @@ Test 19 pass Test 20 pass Test 21 pass Test 22 pass +Verify subcommand statuses +1 0 1 +Verify that set passes through exit status, except when passed -n or -q or -e +1 1 +2 0 +3 0 +4 0 +5 0 +6 0 +7 1 +8 0 +9 1 +10 0 A +11 1 B |