aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test632
diff options
context:
space:
mode:
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>