]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
runtest.pl: add expected fourth return value
authorTimmy Schierling <chilledtimmy@googlemail.com>
Mon, 2 Jan 2023 13:06:28 +0000 (14:06 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 2 Jan 2023 15:03:28 +0000 (16:03 +0100)
Fixes warning in autobild log: "Use of uninitialized value $HTTP2TLSPORT
in substitution iterator at /tests/runtests.pl line 3516"

Closes #10206

tests/runtests.pl

index 0547d3a46e2ae83b1cd26d392457958d80091021..68287c5a9236367fb03e116621f2c81a1a504441 100755 (executable)
@@ -1542,7 +1542,7 @@ sub runhttp2server {
 
     # don't retry if the server doesn't work
     if ($doesntrun{$pidfile}) {
-        return (0, 0, 0);
+        return (0, 0, 0, 0);
     }
 
     my $pid = processexists($pidfile);