diff options
Diffstat (limited to 't/io/print.t')
-rwxr-xr-x | t/io/print.t | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/t/io/print.t b/t/io/print.t index f33aa666a3..31d559aac9 100755 --- a/t/io/print.t +++ b/t/io/print.t @@ -6,7 +6,8 @@ BEGIN { } use strict 'vars'; -use Errno; +eval 'use Errno'; +die $@ if $@ and !$ENV{PERL_CORE_MINITEST}; print "1..19\n"; @@ -41,6 +42,8 @@ print @x,"14\nok",@y; print ""; } +$\ = ''; + if (!exists &Errno::EBADF) { print "ok 19 # skipped: no EBADF\n"; } else { |