From: Rick M. <obj...@gm...> - 2009-04-13 15:03:21
|
Mark, I think we're going to want to include the fix for that LINES() failure in the updated builds. The error was not in lines(), but rather charin() was broken due to a bug in the non-buffered I/O path. Rick On Mon, Apr 13, 2009 at 9:42 AM, Mark Miesfeld <mie...@gm...> wrote: > Rick, > > There is 1 test case failure in the beta branch. I'm sure in trunk > also, just didn't actually try it there. > > This test: > > ::method test_normal_bytes > > -- Create a temp file with some lines. > fileName = createFile(.array~of('dog', 'cat', 'lion', 'tiger'), > "delMe_BIF_LinesBytes") > self~assertFalse(fileName == "", 'temp file must be created') > > -- See how many bytes in size it is > bytes = stream(fileName, "C", "QUERY SIZE") > > -- If we read in all the bytes, normal should return 0 > discard = charin(fileName, bytes) > self~assertSame(0, lines(fileName), 'Read all bytes, 0 lines > should remain') > > fails. > > [failure] [20090413 06:29:43.750000] > svn: r3371 Change date: 2008-09-20 21:33:29 -0700 > Test: TEST_NORMAL_BYTES > Class: LINES.testGroup > File: C:\work.ooRexx\ooTest\4.0.0\ooRexx\base\bif\LINES.testGroup > Line: 201 > Failed: assertSame > Expected: [[0], identityHash="1099511355278"] > Actual: [[1], identityHash="1099511325944"] > Message: Read all bytes, 0 lines should remain > > I haven't looked into why at all yet, figuring you might be able to > fix it before I even diagnose it. <grin> > > -- > Mark Miesfeld > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Oorexx-devel mailing list > Oor...@li... > https://lists.sourceforge.net/lists/listinfo/oorexx-devel > |