diff options
author | Yang Tse <yangsita@gmail.com> | 2008-04-25 04:19:50 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-04-25 04:19:50 +0000 |
commit | 113d0937dee864e3fcb0e1ca6b96ce7aa8e28e9e (patch) | |
tree | d5fae6c3dac492091f6f7740bb08f2b25c36bc3a /tests/FILEFORMAT | |
parent | d0a506661ff7509f00b456be6a23d8981b22bc7f (diff) |
Add 'timeout' and 'delay' attributes support for the test harness <command> subsection
Diffstat (limited to 'tests/FILEFORMAT')
-rw-r--r-- | tests/FILEFORMAT | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/tests/FILEFORMAT b/tests/FILEFORMAT index 1be923819..f9cef19b8 100644 --- a/tests/FILEFORMAT +++ b/tests/FILEFORMAT @@ -200,7 +200,7 @@ command is run. They are cleared again after the command has been run. Variables are first substituted as in the <command> section. </setenv> -<command [option="no-output"]> +<command [option="no-output"] [timeout="secs"] [delay="secs"]> command line to run, there's a bunch of %variables that get replaced accordingly. @@ -217,6 +217,19 @@ 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 verify/stdout section is used. +Set timeout="secs" to override default server logs advisor read lock timeout. +This timeout is used by the test harness, once that the command has completed +execution, to wait for the test server to write out server side log files and +remove the lock that advised not to read them. The "secs" parameter is the not +negative integer number of seconds for the timeout. This 'timeout' attribute +is documented for completeness sake, but is deep test harness stuff and only +needed for very singular and specific test cases. Avoid using it. + +Set delay="secs" to introduce a time delay once that the command has completed +execution and before the <postcheck> section runs. The "secs" parameter is the +not negative integer number of seconds for the delay. This 'delay' attribute +is intended for very specific test cases, and normally not needed. + Available substitute variables include: %CLIENTIP - IPv4 address of the client running curl %CLIENT6IP - IPv6 address of the client running curl |