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 "Oyvind Bakksjo (JIRA)" <de...@db.apache.org> on 2005/11/01 15:49: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_12356502 ] 

Oyvind Bakksjo commented on DERBY-663:
--------------------------------------

Sending        java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/aclob.txt
Sending        java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/empty.txt
Sending        java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/littleclob.txt
Sending        java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/searchclob.txt
Sending        java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/short.txt
Sending        java/testing/org/apache/derbyTesting/functionTests/tests/store/derby.banner
Sending        java/testing/org/apache/derbyTesting/functionTests/tests/store/empty.data
Sending        java/testing/org/apache/derbyTesting/functionTests/tests/store/short.data
Sending        java/testing/org/apache/derbyTesting/functionTests/tests/store/shortbanner
Transmitting file data .......
Committed revision 330042.

This hopefully fixes the problem (will not know for sure until tests have finished running).

> 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
>     Assignee: Oyvind Bakksjo

>
> 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