diff options
author | Denis Vlasenko | 2009-04-06 18:08:35 +0000 |
---|---|---|
committer | Denis Vlasenko | 2009-04-06 18:08:35 +0000 |
commit | cd418a26700629ad3f240ef6fd2e351ec0c2f87e (patch) | |
tree | 5964e28502c10867fdb76037b9879950c300ee3b /shell/hush_test/hush-misc/continue3.tests | |
parent | 8f8d013afc3ec24056f2180ec38e469615632094 (diff) | |
download | busybox-cd418a26700629ad3f240ef6fd2e351ec0c2f87e.zip busybox-cd418a26700629ad3f240ef6fd2e351ec0c2f87e.tar.gz |
hush: fix a bunch of obscure while/until/continue bugs
function old new delta
run_list 1159 1214 +55
done_pipe 106 123 +17
done_command 86 98 +12
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/0 up/down: 84/0) Total: 84 bytes
Diffstat (limited to 'shell/hush_test/hush-misc/continue3.tests')
-rw-r--r-- | shell/hush_test/hush-misc/continue3.tests | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/hush_test/hush-misc/continue3.tests b/shell/hush_test/hush-misc/continue3.tests new file mode 100644 index 0000000..0aff867 --- /dev/null +++ b/shell/hush_test/hush-misc/continue3.tests @@ -0,0 +1,3 @@ +# Test that "continue" does affect exitcode (sets to 0) +e='' +while echo $?; test $e && exit; true; do e=1; false; continue; done |