From a2ce734e28bf8cccb48203507ae71c8d7174dd7c Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Mon, 10 Apr 2023 17:09:56 -0700 Subject: [PATCH] runtests: remove an inappropriate use of runclientoutput This function is intended for running client code, not servers. --- tests/runtests.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.47.3