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
This commit is contained in:
parent
2300ad26d3
commit
52202691d1
@ -30,6 +30,11 @@ SFTP correct sha256 host key
|
||||
<command>
|
||||
--hostpubsha256 %SSHSRVSHA256 --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt
|
||||
</command>
|
||||
<setenv>
|
||||
# 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=/
|
||||
</setenv>
|
||||
<file name="log/file%TESTNUMBER.txt">
|
||||
test
|
||||
</file>
|
||||
|
||||
@ -30,6 +30,11 @@ SCP correct sha256 host key
|
||||
<command>
|
||||
--hostpubsha256 %SSHSRVSHA256 --key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%SSH_PWD/log/file%TESTNUMBER.txt
|
||||
</command>
|
||||
<setenv>
|
||||
# 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=/
|
||||
</setenv>
|
||||
<file name="log/file%TESTNUMBER.txt">
|
||||
test
|
||||
</file>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user