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