mirror of
https://github.com/moparisthebest/curl
synced 2024-11-16 06:25:03 -05:00
75427291e5
That also updates tests to expect the right error code libssh2 back-end returns CURLE_SSH error if the remote file is not found. Expect instead CURLE_REMOTE_FILE_NOT_FOUND which is sent by the libssh backend. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
34 lines
453 B
Plaintext
34 lines
453 B
Plaintext
<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 --insecure
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<errorcode>
|
|
78
|
|
</errorcode>
|
|
<valgrind>
|
|
disable
|
|
</valgrind>
|
|
</verify>
|
|
</testcase>
|