source:
MondoRescue/branches/2.2.9/mindi-busybox/shell/hush_test/hush-misc/break4.tests@
3770
| Last change on this file since 3770 was 3320, checked in by , 11 years ago | |
|---|---|
|
|
| File size: 197 bytes | |
| Line | |
|---|---|
| 1 | cond=true |
| 2 | while $cond; do |
| 3 | echo A |
| 4 | if test "$cond" = true; then |
| 5 | cond='echo TRUE' |
| 6 | else |
| 7 | cond=false |
| 8 | fi |
| 9 | while true; do echo AA; continue 2; echo BB; done |
| 10 | echo B |
| 11 | done |
| 12 | echo OK:$? |
Note:
See TracBrowser
for help on using the repository browser.
