Change 31460 by [EMAIL PROTECTED] on 2007/06/25 10:23:47

        That test too should be skipped in the core on EBCDIC platforms
        (because it requires Convert::EBCDIC)

Affected files ...

... //depot/perl/lib/Net/t/datasend.t#3 edit

Differences ...

==== //depot/perl/lib/Net/t/datasend.t#3 (text) ====
Index: perl/lib/Net/t/datasend.t
--- perl/lib/Net/t/datasend.t#2~23016~  2004-06-30 06:47:36.000000000 -0700
+++ perl/lib/Net/t/datasend.t   2007-06-25 03:23:47.000000000 -0700
@@ -1,6 +1,19 @@
 #!./perl -w
 
 BEGIN {
+    if ($ENV{PERL_CORE}) {
+       chdir 't' if -d 't';
+       @INC = '../lib';
+    }
+    if (!eval "require Socket") {
+       print "1..0 # no Socket\n"; exit 0;
+    }
+    if (ord('A') == 193 && !eval "require Convert::EBCDIC") {
+        print "1..0 # EBCDIC but no Convert::EBCDIC\n"; exit 0;
+    }
+}
+
+BEGIN {
   package Foo;
 
   use IO::File;
End of Patch.

Reply via email to