mirror of
https://github.com/curl/curl.git
synced 2025-01-24 14:15:18 +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
46 lines
635 B
Plaintext
46 lines
635 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
FILE
|
|
--help
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
none
|
|
</server>
|
|
<features>
|
|
file
|
|
</features>
|
|
<name>
|
|
curl file category --help
|
|
</name>
|
|
<command>
|
|
--help file
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<errorcode>
|
|
0
|
|
</errorcode>
|
|
<stdout mode="text">
|
|
Usage: curl [options...] <url>
|
|
file: FILE protocol options
|
|
--create-file-mode <mode> File mode for created files
|
|
-I, --head Show document info only
|
|
-r, --range <range> Retrieve only the bytes within RANGE
|
|
</stdout>
|
|
</verify>
|
|
</testcase>
|