From: Dan Fandrich Date: Sat, 6 Jul 2024 08:16:06 +0000 (-0700) Subject: tests: fix sshd IdentityFile path for MinGW/Cygwin X-Git-Tag: curl-8_9_0~102 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b7b413e75c21c7b9a32117c44b742130fcc5abcc;p=thirdparty%2Fcurl.git tests: fix sshd IdentityFile path for MinGW/Cygwin This was missed during some refactoring more than a year ago and is causing a warning "Use of uninitialized value $path in pattern match". Follow-up to 70d2fca2 Ref: #10818 Closes #14113 --- diff --git a/tests/sshserver.pl b/tests/sshserver.pl index cba8a88ef0..d7835d313c 100755 --- a/tests/sshserver.pl +++ b/tests/sshserver.pl @@ -847,7 +847,7 @@ if ($sshdid =~ /OpenSSH-Windows/) { } elsif (pathhelp::os_is_win()) { # Ensure to use MinGW/Cygwin paths - $identity_config = pathhelp::build_sys_abs_path($identity_config); + $identity_config = pathhelp::build_sys_abs_path($identity); $knownhosts_config = pathhelp::build_sys_abs_path($knownhosts_config); } else {