tests: HTTP server fixups

- httpserver.pl -> http-server.pl for consistency
- add http3-server.pl to EXTRA_DIST; alphabetise for maintainability
- nghttpx proxy invocation scripts should not use getcwd

Closes #10568
This commit is contained in:
Matt Jolly 2023-02-20 19:29:03 +11:00 committed by Daniel Stenberg
parent 046209e561
commit cbf5717615
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
5 changed files with 13 additions and 14 deletions

View file

@ -27,6 +27,7 @@
# nghttpx runs as a proxy in front of our "actual" HTTP/1 server.
use Cwd;
use Cwd 'abs_path';
use File::Basename;
my $pidfile = "log/nghttpx.pid";
my $logfile = "log/http2.log";
@ -93,8 +94,7 @@ while(@ARGV) {
shift @ARGV;
}
my $path = getcwd();
my $srcdir = $path;
my $srcdir = dirname(__FILE__);
$certfile = "$srcdir/certs/$cert.pem";
$keyfile = "$srcdir/certs/$cert.key";
$certfile = abs_path($certfile);