On Wed, Jul 13, 2005 at 04:35:30PM -0400, John Peacock wrote: > As for a regression test, I was thinking about that. I don't how to > write a test for SEGV, but Schwern's example is as good as any: > > BEFORE PATCH: > > >$ LD_LIBRARY_PATH=$PWD ./perl -Ilib utils/perldoc perldoc > >Segmentation fault
$ bleadperl -wle 'package Foo; Foo->VERSION' Bus error Segfaults are handled with fresh_perl_is/like(). Unfortunately t/op/universal.t uses ad hoc testing so I'll have to convert it to t/test.pl first. Back in a bit. -- Michael G Schwern [EMAIL PROTECTED] http://www.pobox.com/~schwern Don't try the paranormal until you know what's normal. -- "Lords and Ladies" by Terry Prachett