diff options
Diffstat (limited to 'shell/hush_test/hush-misc/until1.tests')
-rw-r--r-- | shell/hush_test/hush-misc/until1.tests | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/shell/hush_test/hush-misc/until1.tests b/shell/hush_test/hush-misc/until1.tests new file mode 100644 index 0000000..10ab283 --- /dev/null +++ b/shell/hush_test/hush-misc/until1.tests @@ -0,0 +1,11 @@ +x=1 +until test "$x" = 4; do echo $x; x=4; done + +# We had a bug in multi-line form +x=1 +until test "$x" = 4; do + echo $x + x=4 +done + +echo Ok:$? |