mirror of
https://github.com/curl/curl.git
synced 2025-01-06 13:44:52 +08:00
1ccdad64ef
Fix issues detected. Also: - One of the `.vc` files used LF EOLs, while the other didn't. Make that one also use LF EOLs, as this is apparently supported by `nmake`. - Drop `.dsw` and `.btn` types from `.gitattributes`. The repository doesn't use them. - Sync section order with the rest of files in `tests/certs/EdelCurlRoot-ca.prm`. - Indent/align `.prm` and `.pem` files. - Delete dummy `[something]` section from `.prm` and `.pem` files. Mental note: MSVC `.sln` files seem to accept spaces for indentation and also support LF line-endings. I cannot test this and I don't know what's more convenient when updating them, so left them as-is, with specific exclusions. Closes #14031
48 lines
918 B
Plaintext
48 lines
918 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
SFTP
|
|
known_hosts
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
sftp
|
|
</server>
|
|
<precheck>
|
|
mkdir -p %PWD/%LOGDIR/test%TESTNUMBER.dir/.ssh
|
|
</precheck>
|
|
<features>
|
|
sftp
|
|
!oldlibssh
|
|
</features>
|
|
<name>
|
|
SFTP with corrupted known_hosts
|
|
</name>
|
|
<command>
|
|
-u : sftp://%HOSTIP:%SSHPORT/ -l
|
|
</command>
|
|
<file name="%LOGDIR/test%TESTNUMBER.dir/.ssh/known_hosts">
|
|
|1|qy29Y1x/+/F39AzdG5515YSSw+c=|iB2WX5jrU3ZTWc+ZfGau7HHEvBc= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAynDN8cDJ3xNzRjTNNGciSHSxpubxhZ6YnkLdp1TkrGW8n\
|
|
R93Ey5VtBeBblYTRlFXBWJgKFcTKBRJ/O4qBZwbUgt10AHj31i6h8NehfT19tR8wG/YCmj3KtYLHmwdzmW1edEL9G2NdX2KiKYv7/zuly3QvmP0QA0NhWkAz0KdWNM=
|
|
</file>
|
|
<setenv>
|
|
CURL_HOME=%PWD/%LOGDIR/test%TESTNUMBER.dir
|
|
</setenv>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
# old libssh installs return the wrong thing
|
|
<errorcode>
|
|
60
|
|
</errorcode>
|
|
<valgrind>
|
|
disable
|
|
</valgrind>
|
|
</verify>
|
|
</testcase>
|