summaryrefslogtreecommitdiffhomepage
path: root/shell/ash_test/ash-misc/func_return1.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:$?