This may fix sporadic test failures I've seen under FreeBSD 12.x
when using kqueue with EVFILT_SIGNAL to emulate Linux signalfd.
for my $s (qw(HUP TERM INT WINCH)) {
$sig->{$s} = sub { $hit->{$s}->{sigfd}++ };
}
+ PublicInbox::DS->Reset;
my $sigfd = PublicInbox::Sigfd->new($sig, 0);
if ($sigfd) {
ok($sigfd, 'Sigfd->new works');
is($hit->{$s}->{normal}, undef,
'normal $SIG{$s} not fired');
}
+ PublicInbox::DS->Reset;
$sigfd = undef;
my $nbsig = PublicInbox::Sigfd->new($sig, 1);