summaryrefslogtreecommitdiff
path: root/apps/examples/bas/tests/test41.bas
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/bas/tests/test41.bas')
-rw-r--r--apps/examples/bas/tests/test41.bas23
1 files changed, 0 insertions, 23 deletions
diff --git a/apps/examples/bas/tests/test41.bas b/apps/examples/bas/tests/test41.bas
index 58bc28c74..f307a866d 100644
--- a/apps/examples/bas/tests/test41.bas
+++ b/apps/examples/bas/tests/test41.bas
@@ -1,8 +1,3 @@
-#!/bin/sh
-
-echo -n $0: 'EXIT FUNCTION... '
-
-cat >test.bas <<'eof'
function f(c)
print "f running"
if (c) then f=42 : exit function
@@ -11,22 +6,4 @@ 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