Skip to content

Commit

Permalink
Stray alarms should not kill the process.
Browse files Browse the repository at this point in the history
  • Loading branch information
bluhm committed Sep 23, 2023
1 parent 49da3fb commit 5abb3b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions netlink.pl
Original file line number Diff line number Diff line change
Expand Up @@ -907,6 +907,7 @@ sub notso_shutdown {
$tests[-1]{shutdown} = \&notso_shutdown;
}

local $SIG{ALRM} = 'IGNORE';
TEST:
foreach my $t (@tests) {
my @runcmd = @{$t->{testcmd}};
Expand Down
1 change: 1 addition & 0 deletions perform.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1175,6 +1175,7 @@ sub fsmark_finalize {
},
);

local $SIG{ALRM} = 'IGNORE';
TEST:
foreach my $t (@tests) {
my @runcmd = @{$t->{testcmd}};
Expand Down

0 comments on commit 5abb3b7

Please sign in to comment.