Commit 5304b133 authored by Dan Fandrich's avatar Dan Fandrich
Browse files

Added SSH failure test cases 628-632

parent e547bfa9
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -6,6 +6,9 @@

                                  Changelog

Daniel Fandrich (18 Jun 2008)
- Added SSH failure test cases 628-632

Daniel Stenberg (18 Jun 2008)
- Rob Crittenden brought a fix for the NSS layer that makes libcurl no longer
  always fire up a new connection rather than using the existing one when the
+1 −1
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \
 test1021 test1022 test1023 test309 test616 test617 test618 test619        \
 test620 test621 test622 test623 test624 test625 test626 test627 test554   \
 test1024 test1025 test555 test1026 test1027 test1028 test1029 test1030    \
 test556 test1031
 test556 test1031 test628 test629 test630 test631 test632

filecheck:
	@mkdir test-place; \

tests/data/test628

0 → 100644
+33 −0
Original line number Diff line number Diff line
<testcase>
<info>
<keywords>
SFTP
FAILURE
</keywords>
</info>

#
# Client-side
<client>
<server>
sftp
</server>
 <name>
SFTP invalid user login (password authentication)
 </name>
 <command>
-u not-a-valid-user: sftp://%HOSTIP:%SSHPORT%PWD/irrelevant-file
</command>
</client>

#
# Verify data after the test has been "shot"
<verify>
<errorcode>
67
</errorcode>
<valgrind>
disable
</valgrind>
</verify>
</testcase>

tests/data/test629

0 → 100644
+33 −0
Original line number Diff line number Diff line
<testcase>
<info>
<keywords>
SCP
FAILURE
</keywords>
</info>

#
# Client-side
<client>
<server>
scp
</server>
 <name>
SCP invalid user login (password authentication)
 </name>
 <command>
-u not-a-valid-user: scp://%HOSTIP:%SSHPORT%PWD/irrelevant-file
</command>
</client>

#
# Verify data after the test has been "shot"
<verify>
<errorcode>
67
</errorcode>
<valgrind>
disable
</valgrind>
</verify>
</testcase>

tests/data/test630

0 → 100644
+34 −0
Original line number Diff line number Diff line
<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>
Loading