From: Jerry D. Hedden Date: Tue, 30 Jun 2009 19:16:33 +0000 (-0400) Subject: Quiet t/op/stash.t output X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2221b6e72e26beda5ef0bcc757f00f60785ae96e;p=p5sagit%2Fp5-mst-13.2.git Quiet t/op/stash.t output Attached patch to t/op/stash.t applies Craig Berry's fix (commit fbad106ea7f26c14f996d4ff2eb920ccffc44821) only on VMS. This keeps the noise from the affected tests from polluting the 'make test' output. --- diff --git a/t/op/stash.t b/t/op/stash.t index 578f937..546bf9f 100644 --- a/t/op/stash.t +++ b/t/op/stash.t @@ -109,9 +109,8 @@ SKIP: { TODO: { local $TODO = "anon CVs not accounted for yet"; - my @results = split "\n", runperl + my @results = split "\n", runperl( switches => [ "-MB", "-l" ], - stderr => 1, prog => q{ my $sub = do { package four; @@ -138,7 +137,9 @@ SKIP: { print $st eq q/__ANON__/ ? q/ok/ : q/not ok/; print q/done/; - }; + }, + ($^O eq 'VMS') ? (stderr => 1) : () + ); ok( @results == 5 && $results[4] eq "done", "anon CVs in undefed stash don't segfault" )