1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

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

disabled for now.
This commit is contained in:
Dan Fandrich 2007-04-01 06:28:12 +00:00
parent fce4dcccd8
commit ef10eaeb29
3 changed files with 67 additions and 0 deletions

View File

@ -9,3 +9,4 @@
602
603
604
605

33
tests/data/test604 Normal file
View File

@ -0,0 +1,33 @@
<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>

33
tests/data/test605 Normal file
View File

@ -0,0 +1,33 @@
<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>