Jerry D. Hedden [Tue, 30 Jun 2009 19:16:33 +0000 (15:16 -0400)]
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.
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;
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" )