From: Fabian Keil Date: Mon, 14 Apr 2025 12:11:30 +0000 (+0200) Subject: ../privoxy-runtests.pm: Prevent warning if $_ is undefined X-Git-Url: http://www.privoxy.org/gitweb/?a=commitdiff_plain;h=f0bba8f77c10ec0e93b22261b6ac5e9a9d64cd02;p=privoxy.git ../privoxy-runtests.pm: Prevent warning if $_ is undefined --- 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 "$_"; }