aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-04-01 08:43:09 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-04-01 08:43:09 +0000
commit827fd47198be387fb14b5f5fa1ae3e958f220956 (patch)
tree9978f76aac27cf6ed80ac7c246a11da7dfd4e553
parente26b917661db9758d85c8b4fd21eb44ae8250ab9 (diff)
documented the new killserver tag
-rw-r--r--tests/FILEFORMAT15
1 files changed, 14 insertions, 1 deletions
diff --git a/tests/FILEFORMAT b/tests/FILEFORMAT
index c15e26553..160758dee 100644
--- a/tests/FILEFORMAT
+++ b/tests/FILEFORMAT
@@ -38,19 +38,30 @@ reply is sent
</reply>
<client>
+
<server>
protocols as in 'http' 'ftp' etc. Give only one per line. Used for test cases
500+ (at this point) to specify which servers the test case requires. In the
future all test cases should use this. Makes us independent of the test
case number.
-</server
+</server>
+
+<killserver>
+Using the same syntax as in <server> but when mentioned here these servers
+are explicitly KILLED when this test case is completed. Only use this if there
+is no other alternatives. Using this of course requires subsequent tests to
+restart servers.
+</killserver>
+
<tool>
Name of tool to use instead of "curl". This tool must be built and exist
in the libtest/ directory.
</tool>
+
<name>
test case description
</name>
+
<command [option=no-output]>
command line to run, there's a bunch of %variables that get replaced
accordingly. more about them elsewhere
@@ -68,10 +79,12 @@ Available substitute variables include:
%SRCDIR - Full path to the source dir
%PWD - Current directory
</command>
+
<file name="log/filename">
this creates the named file with this content before the test case is run
which is useful if the test case needs a file to act on.
</file>
+
</client>
<verify>