From 52202691d1bfe28678c8db57141e9ef390ff322a Mon Sep 17 00:00:00 2001 From: Marc Hoersken Date: Mon, 13 Dec 2021 12:15:16 +0100 Subject: [PATCH] tests/data/test302[12]: fix MSYS2 path conversion of hostpubsha256 Ref: https://www.msys2.org/wiki/Porting/#filesystem-namespaces Reviewed-by: Marcel Raad Reviewed-by: Jay Satiro Fixes #8084 Closes #8138 --- tests/data/test3021 | 5 +++++ tests/data/test3022 | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/tests/data/test3021 b/tests/data/test3021 index bd6ae8d6dc..1b23ff0482 100644 --- a/tests/data/test3021 +++ b/tests/data/test3021 @@ -30,6 +30,11 @@ SFTP correct sha256 host key --hostpubsha256 %SSHSRVSHA256 --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt + +# 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=/ + test diff --git a/tests/data/test3022 b/tests/data/test3022 index db24ca9f4a..3e117701ad 100644 --- a/tests/data/test3022 +++ b/tests/data/test3022 @@ -30,6 +30,11 @@ SCP correct sha256 host key --hostpubsha256 %SSHSRVSHA256 --key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt + +# 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=/ + test