2020-07-14 04:32:22 -04:00
|
|
|
<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
|
2020-12-20 12:44:20 -05:00
|
|
|
--create-file-mode File mode for created files
|
2020-07-14 04:32:22 -04:00
|
|
|
-I, --head Show document info only
|
|
|
|
-r, --range <range> Retrieve only the bytes within RANGE
|
|
|
|
</stdout>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|