diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2008-02-09 02:37:31 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2008-02-09 02:37:31 +0000 |
commit | 15e56c32845f84e7970072d3e6d351c2abe48b0d (patch) | |
tree | eff26666a5a0653900ffe32d8b51a2daa47c233f | |
parent | fc1443dcfc65adb1a47266446bbf0798d3cd6dc9 (diff) |
Fixed some XML parsing problems.
-rw-r--r-- | tests/data/test164 | 11 | ||||
-rw-r--r-- | tests/data/test185 | 1 | ||||
-rw-r--r-- | tests/data/test29 | 10 | ||||
-rw-r--r-- | tests/data/test303 | 10 |
4 files changed, 17 insertions, 15 deletions
diff --git a/tests/data/test164 b/tests/data/test164 index 66de307c4..baac19626 100644 --- a/tests/data/test164 +++ b/tests/data/test164 @@ -1,7 +1,8 @@ <testcase> # Server-side # This particular response is an exact excerpt from an actual Apache -# server when asked for a 0-10,12-15 range. +# server when asked for a 0-10,12-15 range (except gt/lt changed to {} +# to avoid XML escaping problems). <reply> <data> HTTP/1.1 206 Partial Content swsclose
@@ -17,15 +18,15 @@ Content-Type: multipart/byteranges; boundary=408a326132c Content-type: text/html
Content-range: bytes 0-10/3781
-<html> -<hea +{html} +{hea --408a326132c
Content-type: text/html
Content-range: bytes 12-15/3781
-> -<t +} +{t --408a326132c--
</data> diff --git a/tests/data/test185 b/tests/data/test185 index fafd04e4b..02bb3d37f 100644 --- a/tests/data/test185 +++ b/tests/data/test185 @@ -5,6 +5,7 @@ HTTP HTTP GET followlocation </keywords> +</info> # Server-side <reply> diff --git a/tests/data/test29 b/tests/data/test29 index a8a2f19b1..9a7bd9ef9 100644 --- a/tests/data/test29 +++ b/tests/data/test29 @@ -10,11 +10,11 @@ FAILURE # Server-side <reply> <data> -HTTP/1.1 200 OK swsclose -Date: Thu, 09 Nov 2010 14:49:00 GMT -Connection: close - -<html>result</html> +HTTP/1.1 200 OK swsclose
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Connection: close
+
+_data_result_data_ </data> <postcmd> wait 10 diff --git a/tests/data/test303 b/tests/data/test303 index 725193b3e..11a80099e 100644 --- a/tests/data/test303 +++ b/tests/data/test303 @@ -10,11 +10,11 @@ timeout # Server-side <reply> <data> -HTTP/1.1 200 OK -Date: Thu, 09 Nov 2010 14:49:00 GMT -Connection: close - -<html>result</html> +HTTP/1.1 200 OK
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Connection: close
+
+_data_result_data_ </data> <postcmd> wait 20 |