tests: fix %POSIX_PWD on native Windows Perl

Though this variable isn't used in any of the current tests.

Cherry-picked from #14949
Closes #15104
This commit is contained in:
Viktor Szakats 2024-10-01 12:16:50 +02:00
parent ca9106c1e9
commit 9c1ab7fa4a
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201

View File

@ -102,6 +102,7 @@ use sshhelp qw(
use pathhelp qw(
exe_ext
os_is_win
build_sys_abs_path
sys_native_abs_path
);
@ -127,7 +128,7 @@ my %run; # running server
my %runcert; # cert file currently in use by an ssl running server
my $CLIENTIP="127.0.0.1"; # address which curl uses for incoming connections
my $CLIENT6IP="[::1]"; # address which curl uses for incoming connections
my $posix_pwd=$pwd; # current working directory
my $posix_pwd = build_sys_abs_path($pwd); # current working directory in POSIX format
my $h2cver = "h2c"; # this version is decided by the nghttp2 lib being used
my $portrange = 999; # space from which to choose a random port
# don't increase without making sure generated port