summaryrefslogtreecommitdiff
path: root/apps/examples/bas/tests/test18.bas
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/bas/tests/test18.bas')
-rw-r--r--apps/examples/bas/tests/test18.bas30
1 files changed, 0 insertions, 30 deletions
diff --git a/apps/examples/bas/tests/test18.bas b/apps/examples/bas/tests/test18.bas
index 2ad4d8ec1..73ab93e1b 100644
--- a/apps/examples/bas/tests/test18.bas
+++ b/apps/examples/bas/tests/test18.bas
@@ -1,8 +1,3 @@
-#!/bin/sh
-
-echo -n $0: 'DO WHILE, LOOP... '
-
-cat >test.bas <<'eof'
print "loop started"
x$=""
do while len(x$)<3
@@ -15,29 +10,4 @@ do while len(x$)<3
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