aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test631
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-06-19 00:18:58 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-06-19 00:18:58 +0000
commit5304b13365d12070cab3464b19f08854e5e0845d (patch)
treeb7c340db5a48b9bd7acb6d6d4fba973c3836e401 /tests/data/test631
parente547bfa933b251263e73ac845c466196e0dec271 (diff)
Added SSH failure test cases 628-632
Diffstat (limited to 'tests/data/test631')
-rw-r--r--tests/data/test63134
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/data/test631 b/tests/data/test631
new file mode 100644
index 000000000..f3d8146a0
--- /dev/null
+++ b/tests/data/test631
@@ -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>