iw7-mod/deps/curl/tests/data/test632
2024-08-13 05:15:34 -04:00

35 lines
524 B
Plaintext

<testcase>
<info>
<keywords>
SFTP
FAILURE
server key check
</keywords>
</info>
#
# Client-side
<client>
<server>
none
</server>
<features>
sftp
</features>
<name>
SFTP syntactically invalid host key
</name>
<command>
--hostpubmd5 00 --key %LOGDIR/server/curl_client_key --pubkey %LOGDIR/server/curl_client_key.pub -u %USER: sftp://%HOSTIP:%NOLISTENPORT%SSH_PWD/%LOGDIR/irrelevant-file --insecure
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<errorcode>
2
</errorcode>
</verify>
</testcase>