mirror of
https://github.com/curl/curl.git
synced 2025-01-06 13:44:52 +08:00
3fd80c7b59
The threee tags `<name>`, `</name>` and `<command>` were frequently used with a leading space that this removes. The reason this habbit is so widespread in testcases is probably that they have been copy and pasted. Hence, fixing them all now might curb this practice from now on. Closes #12028
39 lines
661 B
Plaintext
39 lines
661 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
SFTP
|
|
FAILURE
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
sftp
|
|
</server>
|
|
<name>
|
|
SFTP retrieval of missing file followed by good file
|
|
</name>
|
|
<command>
|
|
--key %LOGDIR/server/curl_client_key --pubkey %LOGDIR/server/curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/not-a-valid-file-moooo sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt --insecure
|
|
</command>
|
|
<file name="%LOGDIR/file%TESTNUMBER.txt">
|
|
Test data
|
|
for ssh test
|
|
</file>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<valgrind>
|
|
disable
|
|
</valgrind>
|
|
<stdout>
|
|
Test data
|
|
for ssh test
|
|
</stdout>
|
|
</verify>
|
|
</testcase>
|