summaryrefslogtreecommitdiff
path: root/apps/examples/bas/tests/test50.bas
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/bas/tests/test50.bas')
-rw-r--r--apps/examples/bas/tests/test50.bas27
1 files changed, 0 insertions, 27 deletions
diff --git a/apps/examples/bas/tests/test50.bas b/apps/examples/bas/tests/test50.bas
index 4155ca52b..de12fbe87 100644
--- a/apps/examples/bas/tests/test50.bas
+++ b/apps/examples/bas/tests/test50.bas
@@ -1,8 +1,3 @@
-#!/bin/sh
-
-echo -n $0: 'Min and max function... '
-
-cat >test.bas <<'eof'
print min(1,2)
print min(2,1)
print min(-0.3,0.3)
@@ -11,26 +6,4 @@ print max(1,2)
print max(2,1)
print max(-0.3,0.3)
print max(-0.3,4)
-eof
-
-cat >test.ref <<'eof'
- 1
- 1
--0.3
--0.3
- 2
- 2
- 0.3
- 4
-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