develooper Front page | perl.perl5.porters | Postings from November 2007

patch for ext/IO_Compress_Zlib/t/101truncate-deflate.t for EBCDIC platform

Thread Next
From:
Chun Bing Ge
Date:
November 1, 2007 00:47
Subject:
patch for ext/IO_Compress_Zlib/t/101truncate-deflate.t for EBCDIC platform
Message ID:
OF28E8DBA0.3DEDEEC6-ON48257386.00297320-48257386.002AB861@IBMCN
Hi,

For this test case, all the cases are "ok", but it runs 10 extra cases.
If changing the source input data in this .t file to EBCDIC values on 
linux, this test case
will run 10 extra cases too.

If you do not have any question about this problem, I will send other 
patches of the similar
test cases next week. 

Any question, please let me know, thanks.

--- 
/home/spring/perl/perl-current/ext/IO_Compress_Zlib/t/101truncate-deflate.t 
2007-04-24 11:19:59.000000000 +0800
+++ 
/home/spring/patch/chgfile/ext-IO_Compress_Zlib-t-101truncate-deflate.t 
2007-09-11 11:01:14.000000000 +0800
@@ -17,7 +17,12 @@
     $extra = 1
         if eval { require Test::NoWarnings ;  import Test::NoWarnings; 1 
};
 
+if (ord("A") == 193) {
+    plan tests => 744 + $extra;
+}
+else {
     plan tests => 734 + $extra;
+}
 
 };
 



Ge, Chun Bing
空山新雨后,天气晚来秋

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About