diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-04-03 15:00:53 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-04-03 15:00:53 +0000 |
commit | 74d0c54f3328524c981198a2cf62d5ec89089dc8 (patch) | |
tree | 3df7c9611c056ac5746098a097f1db29df7c1406 /t | |
parent | 4da3202552ca33632a90c9d4f37d1494b1fd984f (diff) | |
download | perl-74d0c54f3328524c981198a2cf62d5ec89089dc8.tar.gz |
The leavetry crash should now be history.
p4raw-id: //depot/perl@15707
Diffstat (limited to 't')
-rwxr-xr-x | t/op/tiearray.t | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/t/op/tiearray.t b/t/op/tiearray.t index 0c9130367e..9544f89f74 100755 --- a/t/op/tiearray.t +++ b/t/op/tiearray.t @@ -225,11 +225,7 @@ untie @ary; # 20020401 mjd-perl-patch+@plover.com # Thanks to Dave Mitchell for the small test case -{ require './test.pl'; - curr_test(35); - local $::TODO = 'Not fixed yet'; - fresh_perl_is(<<'End_of_Test', "ok", {}, "Core dump in 'leavetry'"); -######## [ID 20020301.011] Core dump in 'leavetry' in 5.7.2 +{ my @a; sub X::TIEARRAY { bless {}, 'X' } @@ -241,10 +237,9 @@ untie @ary; tie @a, 'X'; eval { splice(@a) }; - print "ok\n" -End_of_Test + # If we survived this far. + print "ok ", $test++, "\n"; } -$test++; print "not " unless $seen{'DESTROY'} == 2; print "ok ", $test++,"\n"; |