Test of derby fails because difference in encoding of eol make sizes of test 
data files different between platforms.
--------------------------------------------------------------------------------------------------------------------

         Key: DERBY-663
         URL: http://issues.apache.org/jira/browse/DERBY-663
     Project: Derby
        Type: Bug
    Versions: 10.2.0.0    
 Environment: [EMAIL PROTECTED]:~/ProgramDev/derby/trunk$ cat /proc/version 
Linux version 2.4.27-2-386 ([EMAIL PROTECTED]) (gcc version 3.3.5 (Debian 
1:3.3.5-12)) #1 Mon May 16 16:47:51 JST 2005

    Reporter: Tomohito Nakayama


I found concrete failure in jdbc/resultsetStream.java .

********* Diff file jdbcapi/jdbcapi/resultsetStream.diff
*** Start: resultsetStream jdk1.5.0_03 jdbcapi:jdbcapi 2005-10-29 20:16:58 ***
10 del
< len=56
11 del
< number of reads=56
11a10,11
> len=55
> number of reads=55
Test Failed.
*** End:   resultsetStream jdk1.5.0_03 jdbcapi:jdbcapi 2005-10-29 20:17:00 ***

Surveying code and history of source repository, this test program seems to 
fail because test program suppose size of data file named "short.txt" as "56 
bytes" assuming data file encodes eol as CR LF .


There seems to be some more substantially same failures .

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to