summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-misc/continue1.tests
diff options
context:
space:
mode:
authorDenis Vlasenko2008-07-29 13:36:09 +0000
committerDenis Vlasenko2008-07-29 13:36:09 +0000
commit4554b721ad230cdb5308b9ee61c20729c2c34ae8 (patch)
treefc7e114b9d54e4d8090f106acb31d1f7fe3f2320 /shell/hush_test/hush-misc/continue1.tests
parent45cb9f9581f514e1fc731d6d1146e0ee2333066a (diff)
downloadbusybox-4554b721ad230cdb5308b9ee61c20729c2c34ae8.zip
busybox-4554b721ad230cdb5308b9ee61c20729c2c34ae8.tar.gz
hush: small fix for repeated continue and fix for wrong loop depth count
after Ctrl-C; with testcase for first one
Diffstat (limited to 'shell/hush_test/hush-misc/continue1.tests')
-rwxr-xr-xshell/hush_test/hush-misc/continue1.tests4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/hush_test/hush-misc/continue1.tests b/shell/hush_test/hush-misc/continue1.tests
new file mode 100755
index 0000000..72d3566
--- /dev/null
+++ b/shell/hush_test/hush-misc/continue1.tests
@@ -0,0 +1,4 @@
+for v in a b c; do echo A:$v; continue 666; done
+echo OK1
+for v in a b c; do echo A:$v; continue 666; done
+echo OK2