summaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-misc/until1.tests
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash_test/ash-misc/until1.tests')
-rwxr-xr-xshell/ash_test/ash-misc/until1.tests11
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:$?