Welcome to mirror list, hosted at ThFree Co, Russian Federation.

nested_break.tests « msh-execution « msh_test « shell - git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f2e6f81ae8461b9253f666b8c54e78531b9619e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Testcase for http://bugs.busybox.net/view.php?id=846

n=0
while :
do
        echo A
        while :
        do
    		echo B
                break
        done
        echo iteration
        [ $n = 1 ] && break
	echo C
        n=`expr $n + 1`
done
echo D