busybox/shell/ash_test/ash-misc/continue3.tests

4 lines
129 B
Plaintext
Raw Permalink Normal View History

# Test that "continue" does affect exitcode (sets to 0)
e=''
while echo $?; test $e && exit; true; do e=1; false; continue; done