From d42483ad75d2e4cc88e943c558ce528ee31a82a5 Mon Sep 17 00:00:00 2001 From: Alexander Bluhm Date: Tue, 27 Aug 2024 13:18:36 +0200 Subject: [PATCH] Sort by test names everywhere in netlink html. --- netlink-html.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netlink-html.pl b/netlink-html.pl index abcd963..4b6dc93 100755 --- a/netlink-html.pl +++ b/netlink-html.pl @@ -474,8 +474,8 @@ sub write_html_date_file { print $html " \n \n"; print $html " \n \n"; - my @tests = sort { $T{$b}{severity} <=> $T{$a}{severity} || $a cmp $b } - keys %T; + my @tests = sort { $T{$b}{severity} <=> $T{$a}{severity} || + $TESTNAME{$a} cmp $TESTNAME{$b} } keys %T; foreach my $test (@tests) { print "." if $verbose; (my $testcmd = $test) =~ s/_/ /g;