From 70797a1c32dc37d1d0f595e1ade3dbdce437c8d3 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 9 Nov 2014 08:41:21 -0600 Subject: [PATCH] BAS: A few more fixes to the test --- examples/bastest/README.txt | 10 ++++++++-- examples/bastest/tests/test37.bas | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/examples/bastest/README.txt b/examples/bastest/README.txt index 8810d166b..40c3cb16f 100644 --- a/examples/bastest/README.txt +++ b/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/examples/bastest/tests/test37.bas b/examples/bastest/tests/test37.bas index 80f65a7de..528e6f308 100644 --- a/examples/bastest/tests/test37.bas +++ b/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"