Commit 27d2d780 authored by Dan Fandrich's avatar Dan Fandrich
Browse files

Added more SSH tests (left disabled for now).

parent 7d48d851
Loading
Loading
Loading
Loading
+10 −6
Changes for tests/data/DISABLED: 10 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -4,9 +4,13 @@
# per line.
# Lines starting with '#' letters are treated as comments.
#230
600
601
602
603
604
605
#600
#601
#602
#603
#604
#605
#606
#607
#608
#609
+1 −1
Changes for tests/data/Makefile.am: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -39,4 +39,4 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \
 test534 test535 test281 test537 test282 test283 test284 test538 test285   \
 test286 test307 test308 test287 test400 test288 test600 test601 test602   \
 test603 test401 test402 test290 test291 test292 test293 test403 test404   \
 test405
 test405 test604 test605 test606 test607 test608 test609
+33
Changes for tests/data/test606: 33 added lines, 0 removed lines.
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
 </name>
 <command>
--key curl_client_key --pubkey curl_client_key.pub -u not-a-valid-user: sftp://%HOSTIP:%SSHPORT%PWD/not-a-valid-file-moooo
</command>
</client>

#
# Verify data after the test has been "shot"
<verify>
<errorcode>
2
</errorcode>
<valgrind>
disable
</valgrind>
</verify>
</testcase>
+33
Changes for tests/data/test607: 33 added lines, 0 removed lines.
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
 </name>
 <command>
--key curl_client_key --pubkey curl_client_key.pub -u not-a-valid-user: scp://%HOSTIP:%SSHPORT%PWD/not-a-valid-file-moooo
</command>
</client>

#
# Verify data after the test has been "shot"
<verify>
<errorcode>
2
</errorcode>
<valgrind>
disable
</valgrind>
</verify>
</testcase>
+44
Changes for tests/data/test608: 44 added lines, 0 removed lines.
Original line number Diff line number Diff line
<testcase>
<info>
<keywords>
SFTP
post-quote
</keywords>
</info>

#
# Server-side
<reply>
<data>
Test file for rename test
</data>
</reply>

#
# Client-side
<client>
<server>
sftp
</server>
 <name>
SFTP post-quote rename
 </name>
 <command>
--key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "-rename %PWD/log/file608.txt %PWD/log/file608-renamed.txt" sftp://%HOSTIP:%SSHPORT%PWD/log/file608.txt
</command>
<file name="log/file608.txt">
Test file for rename test
</file>
</client>

#
# Verify data after the test has been "shot"
<verify>
<file name="log/file608-renamed.txt">
Test file for rename test
</file>
<valgrind>
disable
</valgrind>
</verify>
</testcase>
Loading