db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From TomohitoNakayama <tomon...@basil.ocn.ne.jp>
Subject Re: [jira] Commented: (DERBY-663) Test of derby fails because difference in encoding of eol make sizes of test data files different between platforms.
Date Thu, 03 Nov 2005 06:23:24 GMT
Hello Oyvind.

I read information at 
http://www.multinet.no/~solberg/public/Apache/TinderBox_Derby/Limited/index.html 
that DERBY-663 was resolved .
Can you resolve issue on JIRA ?

Best regards.

Oyvind Bakksjo (JIRA) wrote:

>    [ http://issues.apache.org/jira/browse/DERBY-663?page=comments#action_12356634 ] 
>
>Oyvind Bakksjo commented on DERBY-663:
>--------------------------------------
>
>Sending        java/testing/org/apache/derbyTesting/functionTests/testData/ImportExport/position_info.del
>Transmitting file data .
>Committed revision 330289.
>
>Some tests expect this file to have CRLF newlines.
>
>  
>
>>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 .
>>    
>>
>
>  
>

-- 
/*

        Tomohito Nakayama
        tomonaka@basil.ocn.ne.jp
        tomohito@rose.zero.ad.jp
        tmnk@apache.org

        Naka
        http://www5.ocn.ne.jp/~tomohito/TopPage.html

*/ 


Mime
View raw message