This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Silence system warning during tests (only on win32 for now)
authorYves Orton <demerphq@gmail.com>
Sat, 15 Jul 2006 18:21:15 +0000 (20:21 +0200)
committerSteve Hay <SteveHay@planit.com>
Mon, 17 Jul 2006 14:32:19 +0000 (14:32 +0000)
Message-ID: <9b18b3110607150921p33be8e87wd51b2fd317a81587@mail.gmail.com>

p4raw-id: //depot/perl@28594

t/comp/opsubs.t

index 0bbe099..3faca21 100644 (file)
@@ -59,7 +59,8 @@ is( &qw('amper'), "qw-amper", "&qw() is func" );
 
 # qx operator
 can_ok( 'main', "qx" );
-eval "qx('unqualified')";
+eval "qx('unqualified'".
+     ($^O eq 'MSWin32' ? " 2>&1)" : ")");
 SKIP: {
     skip("external command not portable on VMS", 1) if $^O eq 'VMS';
     TODO: {