From: Marc Hoersken Date: Mon, 13 Dec 2021 11:15:16 +0000 (+0100) Subject: tests/data/test302[12]: fix MSYS2 path conversion of hostpubsha256 X-Git-Tag: curl-7_81_0~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52202691d1bfe28678c8db57141e9ef390ff322a;p=thirdparty%2Fcurl.git 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 --- 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