mirror of
https://github.com/moparisthebest/curl
synced 2025-03-11 07:39:50 -04:00
updated
This commit is contained in:
parent
9474e8d6d2
commit
a922132e4a
@ -14,8 +14,10 @@ specified, that will be checked/used if specified. This document includes all
|
|||||||
the subsections currently supported.
|
the subsections currently supported.
|
||||||
|
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data [nocheck=1]>
|
||||||
data to sent to the client on its request
|
data to sent to the client on its request and later verified that it arrived
|
||||||
|
safely. Set the nocheck=1 to prevent the test script to verify the arrival
|
||||||
|
of this data.
|
||||||
</data>
|
</data>
|
||||||
<datacheck>
|
<datacheck>
|
||||||
if the data is sent but this is what should be checked afterwards
|
if the data is sent but this is what should be checked afterwards
|
||||||
@ -30,16 +32,20 @@ reply is sent
|
|||||||
<postcmd>
|
<postcmd>
|
||||||
special purpose server-command to control its behavior *after* the
|
special purpose server-command to control its behavior *after* the
|
||||||
reply is sent
|
reply is sent
|
||||||
</oistcmd>
|
</postcmd>
|
||||||
</reply>
|
</reply>
|
||||||
|
|
||||||
<client>
|
<client>
|
||||||
<name>
|
<name>
|
||||||
test case description
|
test case description
|
||||||
</name>
|
</name>
|
||||||
<command>
|
<command [option=no-output]>
|
||||||
command line to run, there's a bunch of %variables that get replaced
|
command line to run, there's a bunch of %variables that get replaced
|
||||||
accordingly. more about them elsewhere
|
accordingly. more about them elsewhere
|
||||||
|
|
||||||
|
Set 'option=no-output' to prevent the test script to slap on the --output
|
||||||
|
argument that directs the output to a file. The --output is also not added if
|
||||||
|
the client/stdout section is used.
|
||||||
</command>
|
</command>
|
||||||
<file name="log/filename">
|
<file name="log/filename">
|
||||||
this creates the named file with this content before the test case is run
|
this creates the named file with this content before the test case is run
|
||||||
@ -59,6 +65,9 @@ changing protocol data such as port numbers or user-agent strings.
|
|||||||
<protocol>
|
<protocol>
|
||||||
the protocol dump curl should transmit
|
the protocol dump curl should transmit
|
||||||
</protocol>
|
</protocol>
|
||||||
|
<stdout>
|
||||||
|
This verfies that this data was passed to stdout.
|
||||||
|
</stdout>
|
||||||
<file name="log/filename">
|
<file name="log/filename">
|
||||||
the file's contents must be identical to this
|
the file's contents must be identical to this
|
||||||
</file>
|
</file>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user