2 # $Id: /mirror/googlecode/test-more/t/dont_overwrite_die_handler.t 57943 2008-08-18T02:09:22.275428Z brooklyn.kid51 $
5 if( $ENV{PERL_CORE} ) {
11 # Make sure this is in place before Test::More is loaded.
14 $SIG{__DIE__} = sub { $handler_called++ };
17 use Test::More tests => 2;
20 is $handler_called, 1, 'existing DIE handler not overridden';