You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Daniel John Debrunner (JIRA)" <de...@db.apache.org> on 2005/10/31 16:45:56 UTC

[jira] Commented: (DERBY-663) Test of derby fails because difference in encoding of eol make sizes of test data files different between platforms.

    [ http://issues.apache.org/jira/browse/DERBY-663?page=comments#action_12356420 ] 

Daniel John Debrunner commented on DERBY-663:
---------------------------------------------

I think it is because the changes made for DERBY-330 were too broad. Several files, such as this one, need to have identical contents on all platforms, so that the tests see them consistently.

> 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: naka@nysalor:~/ProgramDev/derby/trunk$ cat /proc/version 
> Linux version 2.4.27-2-386 (horms@tabatha.lab.ultramonkey.org) (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