runtests: remove an inappropriate use of runclientoutput

This function is intended for running client code, not servers.
This commit is contained in:
Dan Fandrich 2023-04-10 17:09:56 -07:00
parent fdb24b3916
commit a2ce734e28

View File

@ -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;
}