diff --git a/netlink.pl b/netlink.pl index 6417774..3599f4e 100755 --- a/netlink.pl +++ b/netlink.pl @@ -1,7 +1,7 @@ #!/usr/bin/perl # Copyright (c) 2022 Moritz Buhl -# Copyright (c) 2018-2023 Alexander Bluhm +# Copyright (c) 2018-2024 Alexander Bluhm # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -195,6 +195,8 @@ sub bad { $log->sync() if $log; $tr->sync(); no warnings 'exiting'; + alarm(0); + # the local and eval around the signal handler behave unexpectedly next TEST; } diff --git a/perform.pl b/perform.pl index 8c051c7..115a2e8 100755 --- a/perform.pl +++ b/perform.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl -# Copyright (c) 2018-2023 Alexander Bluhm +# Copyright (c) 2018-2024 Alexander Bluhm # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -159,6 +159,8 @@ sub bad { $log->sync() if $log; $tr->sync(); no warnings 'exiting'; + # the local and eval around the signal handler behave unexpectedly + alarm(0); next TEST; }