diff options
Diffstat (limited to 'shell/ash_test/ash-misc/until1.tests')
-rwxr-xr-x | shell/ash_test/ash-misc/until1.tests | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/shell/ash_test/ash-misc/until1.tests b/shell/ash_test/ash-misc/until1.tests new file mode 100755 index 0000000..10ab283 --- /dev/null +++ b/shell/ash_test/ash-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:$? |