summaryrefslogtreecommitdiff
path: root/apps/examples/bas/tests/test16.bas
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/bas/tests/test16.bas')
-rw-r--r--apps/examples/bas/tests/test16.bas23
1 files changed, 0 insertions, 23 deletions
diff --git a/apps/examples/bas/tests/test16.bas b/apps/examples/bas/tests/test16.bas
index 9e9942381..809137d75 100644
--- a/apps/examples/bas/tests/test16.bas
+++ b/apps/examples/bas/tests/test16.bas
@@ -1,8 +1,3 @@
-#!/bin/sh
-
-echo -n $0: 'SWAP... '
-
-cat >test.bas <<'eof'
a=1 : b=2
print "a=";a;"b=";b
swap a,b
@@ -12,22 +7,4 @@ a$(1,0)="a" : b$(0,1)="b"
print "a$(1,0)=";a$(1,0);"b$(0,1)=";b$(0,1)
swap a$(1,0),b$(0,1)
print "a$(1,0)=";a$(1,0);"b$(0,1)=";b$(0,1)
-eof
-
-cat >test.ref <<'eof'
-a= 1 b= 2
-a= 2 b= 1
-a$(1,0)=ab$(0,1)=b
-a$(1,0)=bb$(0,1)=a
-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