This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In reg_namedcapture.t, don't test for Errno, as the miniperl skip covers this.
authorNicholas Clark <nick@ccl4.org>
Tue, 8 Mar 2011 18:43:41 +0000 (18:43 +0000)
committerNicholas Clark <nick@ccl4.org>
Tue, 8 Mar 2011 18:43:41 +0000 (18:43 +0000)
The original reason for adding the test for Errno was because of a report of
tests failing under minitest:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2008-03/msg00467.html

t/re/reg_namedcapture.t

index 8fd297c..03034b0 100644 (file)
@@ -3,10 +3,6 @@
 BEGIN {
     chdir 't' if -d 't';
     @INC = '../lib';
-    unless ( -r "$INC[0]/Errno.pm") {
-      print "1..0 # Skip: Errno.pm not yet available\n";
-      exit 0;
-    }
     unless (defined &DynaLoader::boot_DynaLoader) {
       print "1..0 # Skip: no dynamic loading on miniperl, no Tie::Hash::NamedCapture\n";
       exit 0;