1
0
mirror of https://github.com/moparisthebest/curl synced 2025-01-10 13:38:04 -05:00

tests: Fixed XML validation errors in some test files.

This commit is contained in:
Dan Fandrich 2019-02-21 22:06:16 +01:00
parent 8bc5ceb204
commit 87ba80a6df
15 changed files with 13 additions and 11 deletions

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<testcase>
<info>
<keywords>

View 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

View File

@ -1,5 +1,5 @@
# based on test1010
<testcase>
# based on test1010
<info>
<keywords>
FTP

View File

@ -67,4 +67,5 @@ http://%HOSTIP:%HTTPPORT/want/1156
<errorcode>
0
</errorcode>
</verify>
</testcase>

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<testcase>
<info>
<keywords>

View 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

View File

@ -1,5 +1,5 @@
# similar to test 1260
<testcase>
# similar to test 1260
<info>
<keywords>
HTTP

View 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

Binary file not shown.

Binary file not shown.

View File

@ -1,5 +1,5 @@
# initially based on test110
<testcase>
# initially based on test110
<info>
<keywords>
FTP

View 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

View 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>

View 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>

View File

@ -45,6 +45,7 @@ GET /658 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
</protocol>
</verify>
</testcase>