]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tests: fix sshd UserKnownHostsFile path for MinGW/Cygwin
authorDan Fandrich <dan@coneharvesters.com>
Sun, 7 Jul 2024 05:04:53 +0000 (22:04 -0700)
committerDan Fandrich <dan@coneharvesters.com>
Sun, 7 Jul 2024 05:07:25 +0000 (22:07 -0700)
This is the same thing as the previous commit fd194f46 but on the next
line.

Follow-up to 70d2fca2

Ref: #10818

tests/sshserver.pl

index d7835d313c242b515f23815104026f7657bdf0f8..20939f0daa8b78d9aeefd60ef478141b718f722e 100755 (executable)
@@ -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));