summaryrefslogtreecommitdiff
path: root/apps/interpreters/bas/test/test18
diff options
context:
space:
mode:
Diffstat (limited to 'apps/interpreters/bas/test/test18')
-rw-r--r--apps/interpreters/bas/test/test1843
1 files changed, 0 insertions, 43 deletions
diff --git a/apps/interpreters/bas/test/test18 b/apps/interpreters/bas/test/test18
deleted file mode 100644
index 2ad4d8ec1..000000000
--- a/apps/interpreters/bas/test/test18
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/sh
-
-echo -n $0: 'DO WHILE, LOOP... '
-
-cat >test.bas <<'eof'
-print "loop started"
-x$=""
-do while len(x$)<3
- print "x$ is ";x$
- x$=x$+"a"
- y$=""
- do while len(y$)<2
- print "y$ is ";y$
- y$=y$+"b"
- loop
-loop
-print "loop ended"
-eof
-
-cat >test.ref <<'eof'
-loop started
-x$ is
-y$ is
-y$ is b
-x$ is a
-y$ is
-y$ is b
-x$ is aa
-y$ is
-y$ is b
-loop ended
-eof
-
-sh ./test/runbas test.bas >test.data
-
-if cmp test.ref test.data
-then
- rm -f test.*
- echo passed
-else
- echo failed
- exit 1
-fi