diff options
Diffstat (limited to 'shell/hush_test/hush-misc/break5.tests')
-rwxr-xr-x | shell/hush_test/hush-misc/break5.tests | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/hush_test/hush-misc/break5.tests b/shell/hush_test/hush-misc/break5.tests new file mode 100755 index 0000000..273e040 --- /dev/null +++ b/shell/hush_test/hush-misc/break5.tests @@ -0,0 +1,4 @@ +while true; do echo A; { echo B; break; echo C; }; echo D; done +echo $? +for v in a b c; do echo A:$v; (echo B; break; echo C); echo D; done +echo $? |