BAS: A few more fixes to the test

This commit is contained in:
Gregory Nutt 2014-11-09 08:41:21 -06:00
parent 4f1d02e5cf
commit 70797a1c32
2 changed files with 9 additions and 3 deletions

View File

@ -1249,9 +1249,15 @@ open failed
Notes Notes
----- -----
The logic in this test will fail if there is no writable file system 1. The logic in this test will fail opening the test.out file if there is no
mount at /tmp. 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 test37.bas
========== ==========

View File

@ -1,4 +1,4 @@
10 open "i",1,"test.ref" 10 open "i",1,"/mnt/romfs/test37.dat"
20 while not eof(1) 20 while not eof(1)
30 line input #1,a$ 30 line input #1,a$
40 if a$="abc" then print a$; else print "def" 40 if a$="abc" then print a$; else print "def"