tests: fix sshd UserKnownHostsFile path for MinGW/Cygwin

This is the same thing as the previous commit fd194f46 but on the next
line.

Follow-up to 70d2fca2

Ref: #10818
This commit is contained in:
Dan Fandrich 2024-07-06 22:04:53 -07:00
parent b7b413e75c
commit d70ec5c650

View File

@ -848,7 +848,7 @@ if ($sshdid =~ /OpenSSH-Windows/) {
elsif (pathhelp::os_is_win()) {
# Ensure to use MinGW/Cygwin paths
$identity_config = pathhelp::build_sys_abs_path($identity);
$knownhosts_config = pathhelp::build_sys_abs_path($knownhosts_config);
$knownhosts_config = pathhelp::build_sys_abs_path($knownhosts);
}
else {
$identity_config = abs_path(pp($identity));