summaryrefslogtreecommitdiff
path: root/tests/LightyTest.pm
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2021-10-10 15:19:05 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2021-10-10 15:19:05 -0400
commit78eb0e39454ab3ca8e7ef77f1d014b50b3632fb9 (patch)
tree1a9cc9ab705c2a678b77544de2a0439f6d33c575 /tests/LightyTest.pm
parent2a3cca7c5671483081779054d8a90a94a6d019d7 (diff)
downloadlighttpd-git-78eb0e39454ab3ca8e7ef77f1d014b50b3632fb9.tar.gz
[tests] force POSIX::WNOHANG() autovivification (fixes #3110)
x-ref: "RPM build fails at Lighttest.pm" https://redmine.lighttpd.net/issues/3110
Diffstat (limited to 'tests/LightyTest.pm')
-rw-r--r--tests/LightyTest.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/LightyTest.pm b/tests/LightyTest.pm
index 5e798bfa..164d0dfd 100644
--- a/tests/LightyTest.pm
+++ b/tests/LightyTest.pm
@@ -137,7 +137,7 @@ sub wait_for_port_with_proc {
# the process is gone, we failed
require POSIX;
- if (0 != waitpid($child, POSIX::WNOHANG)) {
+ if (0 != waitpid($child, POSIX::WNOHANG())) {
return -1;
}
if (0 >= $timeout) {