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/test631 Normal file
View File

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