runtests: silence nghttpx errors
Also, move the output of the nghttpx_h3 info to the general "Env:" line
in the test output header.
Reported-by: Marcel Raad
Ref: ca15b7512e (commitcomment-92015094)
Closes #10044
This commit is contained in:
parent
33f1f4f795
commit
42bcca4af0
@ -459,7 +459,7 @@ if (!$ENV{"NGHTTPX"}) {
|
||||
if ($ENV{"NGHTTPX"}) {
|
||||
my $nghttpx_version=join(' ', runclientoutput("$ENV{'NGHTTPX'} -v"));
|
||||
$nghttpx_h3 = $nghttpx_version =~ /nghttp3\//;
|
||||
logmsg "nghttpx_h3=$nghttpx_h3, output=$nghttpx_version\n";
|
||||
chomp $nghttpx_h3;
|
||||
}
|
||||
|
||||
|
||||
@ -663,7 +663,7 @@ sub runclient {
|
||||
#
|
||||
sub runclientoutput {
|
||||
my ($cmd)=@_;
|
||||
return `$cmd`;
|
||||
return `$cmd 2>/dev/null`;
|
||||
|
||||
# This is one way to test curl on a remote machine
|
||||
# my @out = `ssh $CLIENTIP cd \'$pwd\' \\; \'$cmd\'`;
|
||||
@ -3458,8 +3458,9 @@ sub checksystem {
|
||||
logmsg sprintf("%s", $http_unix?"HTTP-unix ":"");
|
||||
logmsg sprintf("%s\n", $ftp_ipv6?"FTP-IPv6 ":"");
|
||||
|
||||
logmsg sprintf("* Env: %s%s", $valgrind?"Valgrind ":"",
|
||||
$run_event_based?"event-based ":"");
|
||||
logmsg sprintf("* Env: %s%s%s", $valgrind?"Valgrind ":"",
|
||||
$run_event_based?"event-based ":"",
|
||||
$nghttpx_h3);
|
||||
logmsg sprintf("%s\n", $libtool?"Libtool ":"");
|
||||
logmsg ("* Seed: $randseed\n");
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user