From 8975fbc4b4cb5ebc173b0b73365332d48f7c36fa Mon Sep 17 00:00:00 2001 From: Alexander Bluhm Date: Tue, 26 Dec 2023 14:44:24 +0100 Subject: [PATCH] Print value into netlink html table also for xpass result. --- netlink-html.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netlink-html.pl b/netlink-html.pl index f5d1eae..1d73cec 100755 --- a/netlink-html.pl +++ b/netlink-html.pl @@ -196,7 +196,7 @@ sub html_hier_test_row { foreach my $hv (@hiers) { my $tv = $td->{$hv->{key}}; my $vv = $vt->{$hv->{key}}; - if ($tv && ($tv->{status} eq 'PASS')) { + if ($tv && ($tv->{status} =~ /^X?PASS$/)) { print $html " $vv->[$i]{number}\n"; } else { print $html " \n";