mirror of
https://github.com/curl/curl.git
synced 2026-08-24 13:03:35 +03:00
config2setopts: use default protocol properly
Verified by test 1724, 1725 and 2036 Closes #21983
This commit is contained in:
parent
410f3ca585
commit
ab3bb8cd8b
6 changed files with 146 additions and 23 deletions
29
tests/data/test1725
Normal file
29
tests/data/test1725
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
<?xml version="1.0" encoding="US-ASCII"?>
|
||||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
SCP
|
||||
server key check
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
# Client-side
|
||||
<client>
|
||||
<server>
|
||||
scp
|
||||
</server>
|
||||
<name>
|
||||
SCP incorrect host key with --proto-default SCP
|
||||
</name>
|
||||
<command>
|
||||
--hostpubmd5 00000000000000000000000000000000 --key %LOGDIR/server/curl_client_key --pubkey %LOGDIR/server/curl_client_key.pub -u %USER: %HOSTIP:%SSHPORT%SCP_PWD/%LOGDIR/irrelevant-file --insecure --proto-default SCP
|
||||
</command>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<errorcode>
|
||||
60
|
||||
</errorcode>
|
||||
</verify>
|
||||
</testcase>
|
||||
Loading…
Add table
Add a link
Reference in a new issue