summaryrefslogtreecommitdiff
path: root/apps/examples/bas/tests/test17.bas
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/bas/tests/test17.bas')
-rw-r--r--apps/examples/bas/tests/test17.bas31
1 files changed, 0 insertions, 31 deletions
diff --git a/apps/examples/bas/tests/test17.bas b/apps/examples/bas/tests/test17.bas
index 544e790f8..bfe0c9c2c 100644
--- a/apps/examples/bas/tests/test17.bas
+++ b/apps/examples/bas/tests/test17.bas
@@ -1,8 +1,3 @@
-#!/bin/sh
-
-echo -n $0: 'DO, EXIT DO, LOOP... '
-
-cat >test.bas <<'eof'
print "loop started"
i=1
do
@@ -11,30 +6,4 @@ do
if i>10 then exit do
loop
print "loop ended"
-eof
-
-cat >test.ref <<'eof'
-loop started
-i is 1
-i is 2
-i is 3
-i is 4
-i is 5
-i is 6
-i is 7
-i is 8
-i is 9
-i is 10
-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