hush/shell/hush_test/hush-misc/continue3.tests
2009-04-06 18:10:20 +00:00

4 lines
129 B
Plaintext
Executable File

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