Added SSH failure test cases 628-632

This commit is contained in:
Dan Fandrich
2008-06-19 00:18:58 +00:00
parent e547bfa933
commit 5304b13365
7 changed files with 172 additions and 1 deletions

34
tests/data/test632 Normal file
View File

@@ -0,0 +1,34 @@
<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 curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%PWD/log/irrelevant-file
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<errorcode>
2
</errorcode>
</verify>
</testcase>