aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-misc/break4.tests
blob: 67da2889ced68e552ca7588d25a3462c29da00af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
cond=true
while $cond; do
    echo A
    if test "$cond" = true; then
	cond='echo TRUE'
    else
	cond=false
    fi
    while true; do echo AA; continue 2; echo BB; done
    echo B
done
echo OK:$?