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>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
@@ -30,7 +31,7 @@ http://%HOSTIP:%HTTPPORT/174 -u testuser:testpass --anyauth -d "junkelijunk"
|
||||
<strip>
|
||||
^User-Agent:.*
|
||||
</strip>
|
||||
<protocol nonewline=yes>
|
||||
<protocol nonewline="yes">
|
||||
POST /174 HTTP/1.1
|
||||
User-Agent: curl/7.12.1-CVS (i686-pc-linux-gnu) libcurl/7.12.1-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.6
|
||||
Host: 127.0.0.1:%HTTPPORT
|
||||
@@ -41,3 +42,4 @@ Content-Type: application/x-www-form-urlencoded
|
||||
junkelijunk
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
||||
Reference in New Issue
Block a user