diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 2002-04-28 08:57:54 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 2002-04-28 08:57:54 +0000 |
commit | 6b5da1a3dd326d0fe0f59ec1ea7b9b5d72b2a49e (patch) | |
tree | b1a08a246949f6eaa2c13a854f21f79da587517c /ext/PerlIO | |
parent | 24f59afc531955e5c3768c6023fb2ac247d6939d (diff) | |
download | perl-6b5da1a3dd326d0fe0f59ec1ea7b9b5d72b2a49e.tar.gz |
Use (file PerlIO::Layer 'perlio') rather than $Config{useperlio}
as gate on layer tests which fail on -Dusesfio
(ext/XS/Typemap/Typemap.t still fails on -Dusesfio)
p4raw-id: //depot/perlio@16245
Diffstat (limited to 'ext/PerlIO')
-rw-r--r-- | ext/PerlIO/PerlIO.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/PerlIO/PerlIO.t b/ext/PerlIO/PerlIO.t index d3de7051e8..3be0f6af36 100644 --- a/ext/PerlIO/PerlIO.t +++ b/ext/PerlIO/PerlIO.t @@ -2,7 +2,7 @@ BEGIN { chdir 't' if -d 't'; @INC = '../lib'; require Config; import Config; - unless ($Config{'useperlio'}) { + unless (find PerlIO::Layer 'perlio') { print "1..0 # Skip: PerlIO not used\n"; exit 0; } |