From 681ee8ddf13e20dbbf655e4d431b60e6df2d8578 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 9 Nov 2014 08:41:21 -0600 Subject: BAS: A few more fixes to the test --- apps/examples/bastest/README.txt | 10 ++++++++-- apps/examples/bastest/tests/test37.bas | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'apps/examples') 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" -- cgit v1.2.3