aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/FILEFORMAT10
-rw-r--r--tests/data/test17
-rw-r--r--tests/data/test27
-rw-r--r--tests/data/test310
-rw-r--r--tests/data/test410
-rw-r--r--tests/data/test57
6 files changed, 49 insertions, 2 deletions
diff --git a/tests/FILEFORMAT b/tests/FILEFORMAT
index 1225a367c..616adcda3 100644
--- a/tests/FILEFORMAT
+++ b/tests/FILEFORMAT
@@ -13,6 +13,16 @@ command has been run ended up correctly.
specified, that will be checked/used if specified. This document includes all
the subsections currently supported.
+Main sections are 'info', 'reply', 'client' and 'verify'.
+
+<info>
+<keywords>
+A newline-separated list of keywords describing what this test case uses and
+tests. Try to use an already used keyword. These keywords will be used for
+statistical/informational purposes.
+</keywords>
+</info>
+
<reply>
<data [nocheck=1] [sendzero=yes] [base64=yes]>
§data to sent to the client on its request and later verified that it arrived
diff --git a/tests/data/test1 b/tests/data/test1
index 7ddff50d1..93a0f5626 100644
--- a/tests/data/test1
+++ b/tests/data/test1
@@ -1,3 +1,10 @@
+<info>
+<keywords>
+HTTP
+HTTP GET
+</keywords>
+</info>
+
#
# Server-side
<reply name="1">
diff --git a/tests/data/test2 b/tests/data/test2
index ecc996a6c..e2aedff7b 100644
--- a/tests/data/test2
+++ b/tests/data/test2
@@ -1,3 +1,10 @@
+<info>
+<keywords>
+HTTP
+HTTP GET
+HTTP Basic auth
+</keywords>
+</info>
#
# Server-side
<reply>
diff --git a/tests/data/test3 b/tests/data/test3
index bf3d01dd6..b5e8ea71f 100644
--- a/tests/data/test3
+++ b/tests/data/test3
@@ -1,6 +1,14 @@
+<info>
+<keywords>
+HTTP
+HTTP POST
+HTTP Basic auth
+HTTP response-body but Content-Length: set to 0
+</keywords>
+</info>
#
# Server-side
-<reply name="1">
+<reply>
<data>
HTTP/1.0 200 OK
Server: test-server/fake
diff --git a/tests/data/test4 b/tests/data/test4
index 65f3ba090..257734389 100644
--- a/tests/data/test4
+++ b/tests/data/test4
@@ -1,6 +1,14 @@
+<info>
+<keywords>
+HTTP
+HTTP GET
+HTTP added headers
+HTTP replaced headers
+</keywords>
+</info>
#
# Server-side
-<reply name="1">
+<reply>
<data>
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
diff --git a/tests/data/test5 b/tests/data/test5
index 0a3d21f3a..ad51eac52 100644
--- a/tests/data/test5
+++ b/tests/data/test5
@@ -1,3 +1,10 @@
+<info>
+<keywords>
+HTTP
+HTTP GET
+HTTP proxy
+</keywords>
+</info>
#
# Server-side
<reply>