diff options
Diffstat (limited to 'apps/examples/bas/tests/test05.bas')
-rw-r--r-- | apps/examples/bas/tests/test05.bas | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/apps/examples/bas/tests/test05.bas b/apps/examples/bas/tests/test05.bas index 28322325f..49100a00e 100644 --- a/apps/examples/bas/tests/test05.bas +++ b/apps/examples/bas/tests/test05.bas @@ -1,8 +1,3 @@ -#!/bin/sh - -echo -n $0: 'GOSUB RETURN subroutines... ' - -cat >test5.bas <<eof 10 gosub 100 20 gosub 100 30 end @@ -10,22 +5,4 @@ cat >test5.bas <<eof 110 gosub 200 120 return 200 print "hello, world":return -eof - -cat >test5.ref <<eof -hello, world -hello, world -hello, world -hello, world -eof - -sh ./test/runbas test5.bas >test5.data -if cmp test5.ref test5.data -then - rm -f test5.* - echo passed -else - echo failed - exit 1 -fi |