From: Dan Fandrich Date: Tue, 11 Apr 2023 00:09:56 +0000 (-0700) Subject: runtests: remove an inappropriate use of runclientoutput X-Git-Tag: curl-8_1_0~177 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a2ce734e28bf8cccb48203507ae71c8d7174dd7c;p=thirdparty%2Fcurl.git runtests: remove an inappropriate use of runclientoutput This function is intended for running client code, not servers. --- diff --git a/tests/runtests.pl b/tests/runtests.pl index 92b2bc3512..0deda7dc6e 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -364,7 +364,7 @@ if (!$ENV{"NGHTTPX"}) { $ENV{"NGHTTPX"} = checktestcmd("nghttpx"); } if ($ENV{"NGHTTPX"}) { - my $nghttpx_version=join(' ', runclientoutput("$ENV{'NGHTTPX'} -v")); + my $nghttpx_version=join(' ', `"$ENV{'NGHTTPX'} -v 2>/dev/null"`); $nghttpx_h3 = $nghttpx_version =~ /nghttp3\//; chomp $nghttpx_h3; }