Skip test #17 of lib/open.t when useperlio is not defined.
Rafael Garcia-Suarez [Mon, 2 Dec 2002 19:59:07 +0000 (19:59 +0000)]
p4raw-id: //depot/perl@18232

lib/open.t

index 905308d..3f0fdf2 100644 (file)
@@ -171,7 +171,8 @@ EOE
        "checking syswrite() output on :utf8 streams by reading it back in");
 }
 
-{
+SKIP: {
+    skip("no perlio", 1) unless (find PerlIO::Layer 'perlio');
     use open IN => ':non-existent';
     eval {
        require Anything;