This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8575f5e
)
Need to skip test 7 if perl built without the PerlIO::scalar extension
author
Nicholas Clark
<nick@ccl4.org>
Fri, 18 Jun 2004 08:59:01 +0000
(08:59 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Fri, 18 Jun 2004 08:59:01 +0000
(08:59 +0000)
p4raw-id: //depot/perl@22947
t/io/crlf.t
patch
|
blob
|
blame
|
history
diff --git
a/t/io/crlf.t
b/t/io/crlf.t
index
d6f3fc3
..
f59b245
100644
(file)
--- a/
t/io/crlf.t
+++ b/
t/io/crlf.t
@@
-34,7
+34,8
@@
if (find PerlIO::Layer 'perlio') {
{
skip("miniperl can't rely on loading PerlIO::scalar")
if $ENV{PERL_CORE_MINITEST};
- eval 'PerlIO::scalar';
+ skip("no PerlIO::scalar") unless $Config{extensions} =~ /PerlIO::scalar/;
+ require PerlIO::scalar;
my $fcontents = join "", map {"$_\015\012"} "a".."zzz";
open my $fh, "<:crlf", \$fcontents;
local $/ = "xxx";