busybox/shell/msh_test/msh-execution/nested_break.tests
Denis Vlasenko a43dba76ea msh: create testsuite (based on hush one)
hush: add TODO (doesn't know ":" command)
2008-03-02 19:57:53 +00:00

18 lines
256 B
Plaintext
Executable File

# 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