diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2021-10-10 15:19:05 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2021-10-10 15:19:05 -0400 |
commit | 78eb0e39454ab3ca8e7ef77f1d014b50b3632fb9 (patch) | |
tree | 1a9cc9ab705c2a678b77544de2a0439f6d33c575 /tests | |
parent | 2a3cca7c5671483081779054d8a90a94a6d019d7 (diff) | |
download | lighttpd-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')
-rw-r--r-- | tests/LightyTest.pm | 2 |
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) { |