From 512cf6bf32a3d73e2a8abb0b8d1a186283ec9062 Mon Sep 17 00:00:00 2001 From: Alexander Bluhm Date: Wed, 28 Aug 2024 14:52:15 +0200 Subject: [PATCH] Print progress in netlink. --- netlink.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/netlink.pl b/netlink.pl index 51609b3..a34effa 100755 --- a/netlink.pl +++ b/netlink.pl @@ -1183,8 +1183,10 @@ sub pingflood_finalize { ); local $SIG{ALRM} = 'IGNORE'; +my $i = 0; TEST: foreach my $t (@tests) { + printf("test %d/%d\n", ++$i, scalar @tests); if (ref $t->{testcmd} eq 'CODE') { $t->{testcmd}->(); next;