summaryrefslogtreecommitdiff
path: root/apps/examples/bas/tests/test22.bas
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-11-07 14:36:02 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-11-07 14:36:02 -0600
commit1c5e93117d6951dc65d4914ee8e9507af143d2b4 (patch)
treed0e1afe7d6b5cfba2221933e42ad9305f190003f /apps/examples/bas/tests/test22.bas
parent20c645e1cdf2456d09e3c85d2b21e4c32b88b83e (diff)
downloadpx4-nuttx-1c5e93117d6951dc65d4914ee8e9507af143d2b4.tar.gz
px4-nuttx-1c5e93117d6951dc65d4914ee8e9507af143d2b4.tar.bz2
px4-nuttx-1c5e93117d6951dc65d4914ee8e9507af143d2b4.zip
BAS: Convert all BAS text scripts to BASIC files
Diffstat (limited to 'apps/examples/bas/tests/test22.bas')
-rw-r--r--apps/examples/bas/tests/test22.bas26
1 files changed, 0 insertions, 26 deletions
diff --git a/apps/examples/bas/tests/test22.bas b/apps/examples/bas/tests/test22.bas
index 73e2317f9..e10b03a14 100644
--- a/apps/examples/bas/tests/test22.bas
+++ b/apps/examples/bas/tests/test22.bas
@@ -1,8 +1,3 @@
-#!/bin/sh
-
-echo -n $0: 'MAT PRINT... '
-
-cat >test.bas <<'eof'
dim a(2,2)
for i=0 to 2
for j=0 to 2
@@ -16,25 +11,4 @@ for j=1 to 2
print
next
mat print using " ##.##";a,a
-eof
-
-cat >test.ref <<'eof'
- 11.00 21.00
- 12.00 22.00
- 11.00 12.00
- 21.00 22.00
-
- 11.00 12.00
- 21.00 22.00
-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