1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00
curl/tests/data/test630
2009-07-28 17:55:00 +00:00

35 lines
506 B
Plaintext

<testcase>
<info>
<keywords>
SFTP
FAILURE
server key check
</keywords>
</info>
#
# Client-side
<client>
<server>
sftp
</server>
<name>
SFTP incorrect host key
</name>
<command>
--hostpubmd5 00000000000000000000000000000000 --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%PWD/log/irrelevant-file --insecure
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<errorcode>
51
</errorcode>
<valgrind>
disable
</valgrind>
</verify>
</testcase>