mirror of
https://github.com/curl/curl.git
synced 2026-08-26 11:43:32 +03:00
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:
parent
046209e561
commit
cbf5717615
5 changed files with 13 additions and 14 deletions
|
|
@ -28,6 +28,7 @@
|
|||
|
||||
use Cwd;
|
||||
use Cwd 'abs_path';
|
||||
use File::Basename;
|
||||
|
||||
my $pidfile = "log/nghttpx.pid";
|
||||
my $logfile = "log/http3.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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue