]> granicus.if.org Git - curl/commitdiff
tests: Fixed XML validation errors in some test files.
authorDan Fandrich <dan@coneharvesters.com>
Thu, 21 Feb 2019 21:06:16 +0000 (22:06 +0100)
committerDan Fandrich <dan@coneharvesters.com>
Thu, 21 Feb 2019 21:10:48 +0000 (22:10 +0100)
15 files changed:
tests/data/test1034
tests/data/test1133
tests/data/test1149
tests/data/test1156
tests/data/test1160
tests/data/test1262
tests/data/test1263
tests/data/test1291
tests/data/test1425
tests/data/test1426
tests/data/test1449
tests/data/test1455
tests/data/test1456
tests/data/test1457
tests/data/test658

index beab0d3c031369d150d51209804e1d169f805c1b..b4ffc8a98561e65eb32a5d532a5ab07518d9d7af 100644 (file)
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
 <testcase>
 <info>
 <keywords>
index d71155eda9759d80d7e8f6c41c4c614dc46243dc..737f9d9e2cba30eae257f4892ea761662a1a07d0 100644 (file)
@@ -29,7 +29,7 @@ HTTP RFC1867-type formposting with filename/data contains ',', ';', '"'
 http://%HOSTIP:%HTTPPORT/we/want/1133 -F "file=@\"log/test1133,and;.txt\";type=mo/foo;filename=\"faker,and;.txt\"" -F 'file2=@"log/test1133,and;.txt"' -F 'file3=@"log/test1133,and;.txt";type=m/f,"log/test1133,and;.txt"' -F a="{\"field1\":\"value1\",\"field2\":\"value2\"}" -F 'b=" \\value1;type=\"whatever\" "; type=text/foo; charset=utf-8 ; filename=param_b'
 </command>
 # We create this file before the command is invoked!
-<file name=log/test1133,and;.txt>
+<file name="log/test1133,and;.txt">
 foo bar
 This is a bar foo
 bar
index ae081a8a996df3ba94b02f5bdd74a096b9cae467..f826391e9df551544c32aa4006eb6f746daba14a 100644 (file)
@@ -1,5 +1,5 @@
-# based on test1010
 <testcase>
+# based on test1010
 <info>
 <keywords>
 FTP
index fb48362423f181738df38ba4ece1243b2ac7c95e..f78dc998f08be45d5f8dff433224b21c32435f78 100644 (file)
@@ -67,4 +67,5 @@ http://%HOSTIP:%HTTPPORT/want/1156
 <errorcode>
 0
 </errorcode>
+</verify>
 </testcase>
index 3fe689e96b18b9e8c9430749f661b8272dc33ea5..63dd0a7a0dcaf9f34f76bfbe5bc600b185e8cdb5 100644 (file)
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
 <testcase>
 <info>
 <keywords>
index 4b08a2cf275745fb24045f6cf30fc51a39a5ebca..ed526c099774fef0b269602de15beebee2c8daee 100644 (file)
@@ -1,5 +1,5 @@
-# similar to test 139 but with a reversed time condition
 <testcase>
+# similar to test 139 but with a reversed time condition
 <info>
 <keywords>
 FTP
index 7946916e27f25406c666b0be519a23aa2f1a519f..7462db4d42c70444d187e95f5909729c9dbc6766 100644 (file)
@@ -1,5 +1,5 @@
-# similar to test 1260
 <testcase>
+# similar to test 1260
 <info>
 <keywords>
 HTTP
index 12d65f3d84745f1661f0e826b5dc9f8424a90df9..3f15751840060970fdaa8b1bc6c6b54d59797df6 100644 (file)
@@ -1,7 +1,6 @@
+<testcase>
 # This test case is primarily meant to verify that parsing and adding the 100K
 # files is a swift operation.
-#
-<testcase>
 <info>
 <keywords>
 HTTP
index 0044c69d516739dd6add1d4cfc3f21c47eab964c..ce9ba97fb353c22bd5527edc98d878faba4ae96a 100644 (file)
Binary files a/tests/data/test1425 and b/tests/data/test1425 differ
index dd6a8d117067a2579e2ea0775ec70dcc23eb56c3..851d8c3fb432d6cfab44fc9a97c8dfd2d075fbdf 100644 (file)
Binary files a/tests/data/test1426 and b/tests/data/test1426 differ
index d30c13c68482020931eb0f7c9506ea7ce149a49c..1911b0272b268452952ee625874f13086a595312 100644 (file)
@@ -1,5 +1,5 @@
-# initially based on test110
 <testcase>
+# initially based on test110
 <info>
 <keywords>
 FTP
index 0b77dc4f5ea2b73eb970ad03e6ab88ee6539b574..7276ea4ec0ba5fc1eff0fbba293bdf3743f3ab89 100644 (file)
@@ -9,7 +9,7 @@ HTTP GET
 #
 # Server-side
 <reply name="1455">
-<data nocheck=yes>
+<data nocheck="yes">
 HTTP/1.1 200 OK
 Date: Thu, 09 Nov 2010 14:49:00 GMT
 Server: test-server/fake
index 07a6e7c03a81fbc62c540cd88a2d2007149517ce..00747361851a64f1d22b16a5b75ef9bb96f27838 100644 (file)
@@ -9,7 +9,7 @@ IPv6
 #
 # Server-side
 <reply>
-<data nocheck=yes>
+<data nocheck="yes">
 HTTP/1.1 200 OK
 Date: Thu, 09 Nov 2010 14:49:00 GMT
 Server: test-server/fake
@@ -21,7 +21,7 @@ Connection: close
 Content-Type: text/html
 Funny-head: yesyes
 
--foo-
+These data aren't actually sent to the client
 </data>
 </reply>
 
index 43a5f35d3ed6addb61c963dd95ec99d1f038381d..575748f46be57b3d55499c58028b27b1c3f7a264 100644 (file)
@@ -45,7 +45,6 @@ Content-Type: text/plain
 testdata
 line1line3
 </stdout>
-#note: as of now <stderr> doesn't actually exist in runtests.pl
 <stderr nonewline="yes">
 line2
 </stderr>
index c75293c6d010213e961a9b0e27d5ecdade55edaf..8c77eafec366d96e5d1b19d65c2b13259b6d691c 100644 (file)
@@ -45,6 +45,7 @@ GET /658 HTTP/1.1
 Host: %HOSTIP:%HTTPPORT\r
 Accept: */*\r
 \r
+</protocol>
 </verify>
 
 </testcase>