summaryrefslogtreecommitdiffhomepage
path: root/shell/hush_test/hush-misc/func6.tests
blob: 029c3e85e138a09658f87bc695da8673df7dc8ce (plain)
1
2
3
4
5
6
7
8
9
10
11
f1() {
	while return 2; do :; done
}
f1
echo Two:$?

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