summaryrefslogtreecommitdiff
path: root/apps/examples
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-11-09 08:41:21 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-11-09 08:41:21 -0600
commit681ee8ddf13e20dbbf655e4d431b60e6df2d8578 (patch)
treee157b7f71d3768a95ed809ff8e1ebfb0605d092d /apps/examples
parentc7fe16a81634713db1e7fb93c06aa6e59c1f3247 (diff)
downloadnuttx-681ee8ddf13e20dbbf655e4d431b60e6df2d8578.tar.gz
nuttx-681ee8ddf13e20dbbf655e4d431b60e6df2d8578.tar.bz2
nuttx-681ee8ddf13e20dbbf655e4d431b60e6df2d8578.zip
BAS: A few more fixes to the test
Diffstat (limited to 'apps/examples')
-rw-r--r--apps/examples/bastest/README.txt10
-rw-r--r--apps/examples/bastest/tests/test37.bas2
2 files changed, 9 insertions, 3 deletions
diff --git a/apps/examples/bastest/README.txt b/apps/examples/bastest/README.txt
index 8810d166b..40c3cb16f 100644
--- a/apps/examples/bastest/README.txt
+++ b/apps/examples/bastest/README.txt
@@ -1249,9 +1249,15 @@ open failed
Notes
-----
- The logic in this test will fail if there is no writable file system
- mount at /tmp.
+1. The logic in this test will fail opening the test.out file if there is no
+ writable file system mount at /tmp.
+2. This test will still currently fail when try to fork the shell because
+ support for that feature is not implemented. The following error message
+ should be received:
+Error: Forking child process failed (Unknown error) in line 5 at:
+if command$<>"enough" then shell "sh ./test/runbas test.bas enough"
+ ^
test37.bas
==========
diff --git a/apps/examples/bastest/tests/test37.bas b/apps/examples/bastest/tests/test37.bas
index 80f65a7de..528e6f308 100644
--- a/apps/examples/bastest/tests/test37.bas
+++ b/apps/examples/bastest/tests/test37.bas
@@ -1,4 +1,4 @@
-10 open "i",1,"test.ref"
+10 open "i",1,"/mnt/romfs/test37.dat"
20 while not eof(1)
30 line input #1,a$
40 if a$="abc" then print a$; else print "def"