Initial public busybox upstream commit
[busybox4maemo] / shell / msh_test / msh-execution / nested_break.tests
1 # Testcase for http://bugs.busybox.net/view.php?id=846
2
3 n=0
4 while :
5 do
6         echo A
7         while :
8         do
9                 echo B
10                 break
11         done
12         echo iteration
13         [ $n = 1 ] && break
14         echo C
15         n=`expr $n + 1`
16 done
17 echo D