[Privoxy-commits] [privoxy] branch master updated: ../privoxy-runtests.pm: Prevent warning if $_ is undefined

User Git git at git.privoxy.org
Wed Apr 23 10:45:02 CEST 2025


This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository privoxy.

The following commit(s) were added to refs/heads/master by this push:
     new f0bba8f7 ../privoxy-runtests.pm: Prevent warning if $_ is undefined
f0bba8f7 is described below

commit f0bba8f77c10ec0e93b22261b6ac5e9a9d64cd02
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Mon Apr 14 14:11:30 2025 +0200

    ../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 "$_";
     }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list