summaryrefslogtreecommitdiff
path: root/t/io/read.t
diff options
context:
space:
mode:
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;