mirror of
https://github.com/curl/curl.git
synced 2026-08-15 09:55:51 +03:00
libssh2: send the correct CURLE error code on scp file not found
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>
This commit is contained in:
parent
c92d2e14cf
commit
75427291e5
2 changed files with 6 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ SCP retrieval of nonexistent file
|
|||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<errorcode>
|
||||
79
|
||||
78
|
||||
</errorcode>
|
||||
<valgrind>
|
||||
disable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue