From 9b8ed6bc3eda369fb37a9290e6c69fa70b0308cb Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Mon, 24 Jan 2022 22:53:29 -0500 Subject: [PATCH] test3021: disable all msys2 path transformation - Disable all MSYS2 path transformation in test3021 and test3022. Prior to this change path transformation in those tests was disabled only for arguments that start with forward slashes. However arguments that are in base64 contain forward slashes at any position and caused unwanted translations. == Info: Denied establishing ssh session: mismatch sha256 fingerprint. Remote +/EYG2YDzDGm6yiwepEMSuExgRRMoTi8Di1UN3kixZw= is not equal to +C:/msys64/EYG2YDzDGm6yiwepEMSuExgRRMoTi8Di1UN3kixZw In the above example an argument containing a base64 sha256 fingerprint was passed to curl after MSYS2 translated +/ into +C:/msys64/, and then the fingerprint didn't match what was expected. Ref: https://www.msys2.org/wiki/Porting/ Fixes https://github.com/curl/curl/issues/8084 Closes https://github.com/curl/curl/pull/8325 --- tests/data/test3021 | 2 +- tests/data/test3022 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/data/test3021 b/tests/data/test3021 index 1b23ff0482..775dd91f82 100644 --- a/tests/data/test3021 +++ b/tests/data/test3021 @@ -33,7 +33,7 @@ SFTP correct sha256 host key # Needed for MSYS2 to not treat the argument as a POSIX path list # that has to be converted to Windows paths -MSYS2_ARG_CONV_EXCL=/ +MSYS2_ARG_CONV_EXCL=* test diff --git a/tests/data/test3022 b/tests/data/test3022 index 3e117701ad..a9dbcb0f2b 100644 --- a/tests/data/test3022 +++ b/tests/data/test3022 @@ -33,7 +33,7 @@ SCP correct sha256 host key # Needed for MSYS2 to not treat the argument as a POSIX path list # that has to be converted to Windows paths -MSYS2_ARG_CONV_EXCL=/ +MSYS2_ARG_CONV_EXCL=* test -- 2.47.3