mirror of
https://github.com/moparisthebest/curl
synced 2024-12-25 09:38:54 -05:00
a4c7911a48
Added test 656 (based on test 604) to verify the fix. Bug: https://bugzilla.redhat.com/1595135 Closes #2879
34 lines
490 B
Plaintext
34 lines
490 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
SFTP
|
|
FAILURE
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
sftp
|
|
</server>
|
|
<name>
|
|
SFTP retrieval with nonexistent private key file
|
|
</name>
|
|
<command>
|
|
--key DOES_NOT_EXIST --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%PWD/not-a-valid-file-moooo --insecure --connect-timeout 8
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<valgrind>
|
|
disable
|
|
</valgrind>
|
|
<errorcode>
|
|
67
|
|
</errorcode>
|
|
</verify>
|
|
</testcase>
|