X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fio%2Fopen.t;h=cf1d39dc0d8fcfd9dec472e948652a81d7509c26;hb=dc459aad73ffc3aaf43c03d9908415c433fd93ba;hp=187106156facc4266f35b1257d2bdf34343108a8;hpb=21f5a6076e634a7ee61d6f5aa4e44bf6708db9fb;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/io/open.t b/t/io/open.t index 1871061..cf1d39d 100755 --- a/t/io/open.t +++ b/t/io/open.t @@ -10,6 +10,7 @@ $| = 1; use warnings; use Config; $Is_VMS = $^O eq 'VMS'; +$Is_MacOS = $^O eq 'MacOS'; plan tests => 94; @@ -79,7 +80,7 @@ SKIP: { skip "open -| busted and noisy on VMS", 3 if $Is_VMS; ok( open(my $f, '-|', <; @@ -87,7 +88,9 @@ EOC ok( close($f), ' close' ); } -{ +SKIP: { + skip "Output for |- doesn't go to shell on MacOS", 5 if $Is_MacOS; + ok( open(my $f, '|-', <; @@ -180,7 +183,9 @@ EOC ok( close($f), ' close' ); } -{ +SKIP: { + skip "Output for |- doesn't go to shell on MacOS", 5 if $Is_MacOS; + ok( open(local $f, '|-', <