aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test632
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/test632
parente547bfa933b251263e73ac845c466196e0dec271 (diff)
Added SSH failure test cases 628-632
Diffstat (limited to 'tests/data/test632')
-rw-r--r--tests/data/test63234
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/data/test632 b/tests/data/test632
new file mode 100644
index 000000000..1b2ad31cb
--- /dev/null
+++ b/tests/data/test632
@@ -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>