From f0bba8f77c10ec0e93b22261b6ac5e9a9d64cd02 Mon Sep 17 00:00:00 2001
From: Fabian Keil <fk@fabiankeil.de>
Date: Mon, 14 Apr 2025 14:11:30 +0200
Subject: [PATCH] ../privoxy-runtests.pm: Prevent warning if $_ is undefined

---
 tests/cts/privoxy-runtests.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/cts/privoxy-runtests.pm b/tests/cts/privoxy-runtests.pm
index b04b027d..44aa03c4 100644
--- a/tests/cts/privoxy-runtests.pm
+++ b/tests/cts/privoxy-runtests.pm
@@ -175,6 +175,7 @@ sub getpartattr {
 # about unknown tests
 sub logmsg {
     for (@_) {
+        next unless defined($_);
         next if /^Warning: test\d+ not present in/;
         print "$_";
     }
-- 
2.49.0