busybox/shell/hush_test/hush-misc/func6.tests
Denys Vlasenko a2633aa819 hush: add func6.tests
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2016-10-01 20:12:10 +02:00

12 lines
105 B
Plaintext
Executable File

f1() {
while return 2; do :; done
}
f1
echo Two:$?
f2() {
while :; do return 2; done
}
f2
echo Two:$?