diff options
Diffstat (limited to 'apps/interpreters/bas/test/test41')
-rw-r--r-- | apps/interpreters/bas/test/test41 | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/apps/interpreters/bas/test/test41 b/apps/interpreters/bas/test/test41 deleted file mode 100644 index 58bc28c74..000000000 --- a/apps/interpreters/bas/test/test41 +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh - -echo -n $0: 'EXIT FUNCTION... ' - -cat >test.bas <<'eof' -function f(c) -print "f running" -if (c) then f=42 : exit function -f=43 -end function - -print f(0) -print f(1) -eof - -cat >test.ref <<'eof' -f running - 43 -f running - 42 -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 |