summaryrefslogtreecommitdiff
path: root/t/io/read.t
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2004-03-02 22:02:36 +0000
committerNicholas Clark <nick@ccl4.org>2004-03-02 22:02:36 +0000
commit43651d81392f71a2868d35b75782d354b0139c90 (patch)
tree7867f13e33750fe244b05a78c9455989b9214006 /t/io/read.t
parent9acd3e2cb8772b6eb8d3f739a8401e73420609ba (diff)
downloadperl-43651d81392f71a2868d35b75782d354b0139c90.tar.gz
Work on eliminating systematic failures on make minitest:
make minitest passes a -minitest flag to t/TEST t/TEST sees this and sets $ENV{PERL_CORE_MINITEST} Tests can choose to skip based on this. (Other tactic is to make loading of Errno by %! happen at run time.) p4raw-id: //depot/perl@22423
Diffstat (limited to 't/io/read.t')
-rwxr-xr-xt/io/read.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/io/read.t b/t/io/read.t
index ea2672dedb..63ffee1d5a 100755
--- a/t/io/read.t
+++ b/t/io/read.t
@@ -9,7 +9,8 @@ BEGIN {
}
use strict;
-use Errno;
+eval 'use Errno';
+die $@ if $@ and !$ENV{PERL_CORE_MINITEST};
plan tests => 2;