aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test630
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/test630
parente547bfa933b251263e73ac845c466196e0dec271 (diff)
Added SSH failure test cases 628-632
Diffstat (limited to 'tests/data/test630')
-rw-r--r--tests/data/test63034
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/data/test630 b/tests/data/test630
new file mode 100644
index 000000000..90d364b38
--- /dev/null
+++ b/tests/data/test630
@@ -0,0 +1,34 @@
+<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
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<errorcode>
+51
+</errorcode>
+<valgrind>
+disable
+</valgrind>
+</verify>
+</testcase>