diff options
Diffstat (limited to 'apps/examples/bas/tests/test28.bas')
-rw-r--r-- | apps/examples/bas/tests/test28.bas | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/apps/examples/bas/tests/test28.bas b/apps/examples/bas/tests/test28.bas index fa22845bb..d5185ca98 100644 --- a/apps/examples/bas/tests/test28.bas +++ b/apps/examples/bas/tests/test28.bas @@ -1,26 +1,6 @@ -#!/bin/sh - -echo -n $0: 'TDL BASIC FNRETURN/FNEND... ' - -cat >test.bas <<'eof' def fnfac(n) if n=1 then fnreturn 1 fnend n*fnfac(n-1) print fnfac(10) -eof - -cat >test.ref <<'eof' - 3628800 -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 |