Convert (most of) the test data files into genuine XML. A handful still
are not, due mainly to the lack of support for XML character entities (e.g. & => & ). This will make it easier to validate test files using tools like xmllint, as well as edit and view them using XML tools.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
HTTP
|
||||
@@ -8,7 +9,7 @@ HTTP GET
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck=1>
|
||||
<data nocheck="1">
|
||||
HTTP/1.1 200 OK
|
||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||
Server: test-server/fake
|
||||
@@ -19,7 +20,7 @@ Content-Length: 6
|
||||
Content-Type: text/html
|
||||
Funny-head: yesyes
|
||||
|
||||
<foo>
|
||||
-foo-
|
||||
</data>
|
||||
<data1>
|
||||
HTTP/1.0 200 OK
|
||||
@@ -40,7 +41,7 @@ http
|
||||
<name>
|
||||
HTTP, urlglob {}-retrieval and -o #[num] usage
|
||||
</name>
|
||||
<command option=no-output>
|
||||
<command option="no-output">
|
||||
"http://%HOSTIP:%HTTPPORT/{74,740001}" -o "log/dumpit#1.dump"
|
||||
</command>
|
||||
</client>
|
||||
@@ -70,3 +71,4 @@ Connection: close
|
||||
crap data
|
||||
</file>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
||||
Reference in New Issue
Block a user