From b7b413e75c21c7b9a32117c44b742130fcc5abcc Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Sat, 6 Jul 2024 01:16:06 -0700 Subject: [PATCH] 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 --- tests/sshserver.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.47.3