Debian Codegraph @

t/integration/signals/abrt_or_iot.t

raw
1 #!perl
2
3 use strict;
4 use warnings;
5 use Test::More;
6
7 # note: this is going to fail if IOT is defined before...
8 # %SIG = %SIG; will introduce a flapping behavior
9
10 $SIG{'ABRT'} = sub {
11 my ($sig) = @_;
12 is $sig, 'ABRT';
13 };
14
15 kill 'ABRT', $$;
16
17 done_testing;