diff options
Diffstat (limited to 'apps/examples/bas/tests/test42.bas')
-rw-r--r-- | apps/examples/bas/tests/test42.bas | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/apps/examples/bas/tests/test42.bas b/apps/examples/bas/tests/test42.bas index f448251a4..5be79ac26 100644 --- a/apps/examples/bas/tests/test42.bas +++ b/apps/examples/bas/tests/test42.bas @@ -1,8 +1,3 @@ -#!/bin/sh - -echo -n $0: 'Arithmetic... ' - -cat >test.bas <<eof 10 print 4.7\3 20 print -2.3\1 30 print int(-2.3) @@ -11,26 +6,4 @@ cat >test.bas <<eof 60 print fix(2.3) 70 print fp(-2.3) 80 print fp(2.3) -eof - -cat >test.ref <<eof - 1 --2 --3 - 2 --2 - 2 --0.3 - 0.3 -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 |