Commit ef10eaeb authored by Dan Fandrich's avatar Dan Fandrich
Browse files

Added scp and sftp nonexistent file retrieval tests, but leave them

disabled for now.
parent fce4dccc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -9,3 +9,4 @@
602
603
604
605

tests/data/test604

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 retrieval of nonexistent file
 </name>
 <command>
--key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%PWD/not-a-valid-file-moooo
</command>
</client>

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

tests/data/test605

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 retrieval of nonexistent file
 </name>
 <command>
--key curl_client_key --pubkey curl_client_key.pub -u %USER: scp://%HOSTIP:%SSHPORT%PWD/not-a-valid-file-moooo
</command>
</client>

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