tests/data: add XML prolog to test files

To formalize they are now XML-compliant (with some asterisks.)

Also to help syntax highlighters work on them to make their content more
readable.

Also:
- Delete empty comment decorations.
- GHA/checksrc: simplify XML check.
- runtests: fail to load test data with XML prolog missing.

Follow-up to bfe6eb1c06 #19927
Follow-up to 87ba80a6df

Closes #19946
This commit is contained in:
Viktor Szakats
2025-12-12 13:43:55 +01:00
parent 7d79ef926b
commit b5ea0736bb
1901 changed files with 1910 additions and 3220 deletions

View File

@@ -135,11 +135,7 @@ jobs:
persist-credentials: false
- name: 'check'
run: |
{
git grep -i -l -E '^<\?xml' -z || true
git ls-files 'tests/data/test*' -z || true
} | xargs -0 -r xmllint >/dev/null
run: git grep -i -l -E '^<\?xml' -z | xargs -0 -r xmllint >/dev/null
miscchecks:
name: 'misc checks'

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -6,7 +7,6 @@ HTTP GET
</keywords>
</info>
#
# Server-side
<reply>
<data crlf="headers">
@@ -25,7 +25,6 @@ Funny-head: yesyes
</data>
</reply>
#
# Client-side
<client>
<server>
@@ -39,7 +38,6 @@ http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol crlf="headers">

View File

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

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -6,7 +7,6 @@ PASV
LIST
</keywords>
</info>
#
# Server-side
<reply>
<data mode="text">
@@ -24,7 +24,6 @@ dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
</data>
</reply>
#
# Client-side
<client>
<server>
@@ -38,7 +37,6 @@ ftp://%HOSTIP:%FTPPORT/test-%TESTNUMBER/
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol crlf="yes">

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -7,14 +8,12 @@ LIST
NOBODY
</keywords>
</info>
#
# Server-side
<reply>
<datacheck>
</datacheck>
</reply>
#
# Client-side
<client>
<server>
@@ -28,7 +27,6 @@ ftp://%HOSTIP:%FTPPORT/%TESTNUMBER/ -I
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol crlf="yes">

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -59,7 +60,6 @@ ok
# Client-side
<client>
#
<server>
http
</server>

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -58,7 +59,6 @@ ok
# Client-side
<client>
#
<server>
http
</server>

View File

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

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -7,7 +8,6 @@ HTTP proxy
</keywords>
</info>
#
# Server-side
<reply>
<data>
@@ -26,7 +26,6 @@ Funny-head: yesyes
</data>
</reply>
#
# Client-side
<client>
<features>
@@ -43,7 +42,6 @@ http://%HOSTIP:%HTTPPORT/%TESTNUMBER --proxy ""
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol crlf="headers">

View File

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

View File

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

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -7,7 +8,6 @@ FAILURE
</keywords>
</info>
#
# Client-side
<client>
<server>
@@ -27,7 +27,6 @@ This data will not be sent
</file>
</client>
#
# Verify pseudo protocol after the test has been "shot"
<verify>
<errorcode>

View File

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

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -7,7 +8,6 @@ TFTP RRQ
</keywords>
</info>
#
# Server-side
<reply>
<data>
@@ -18,7 +18,6 @@ returned
</data>
</reply>
#
# Client-side
<client>
<server>
@@ -32,7 +31,6 @@ tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER --local-port 44444-45444
</command>
</client>
#
# Verify pseudo protocol after the test has been "shot"
<verify>
<strip>

View File

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

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -6,7 +7,6 @@ PASV
LIST
</keywords>
</info>
#
# Server-side
<reply>
@@ -25,7 +25,6 @@ dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
</data>
</reply>
#
# Client-side
<client>
<server>
@@ -39,7 +38,6 @@ ftp://%HOSTIP:%FTPPORT//list/this/path/%TESTNUMBER/ ftp://%HOSTIP:%FTPPORT//list
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol crlf="yes">

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -6,7 +7,6 @@ HTTP POST
followlocation
</keywords>
</info>
#
# Server-side
<reply>
<data crlf="headers">
@@ -39,7 +39,6 @@ body
</datacheck>
</reply>
#
# Client-side
<client>
<server>
@@ -53,7 +52,6 @@ http://%HOSTIP:%HTTPPORT/blah/%TESTNUMBER -L -d "moo"
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol crlf="yes">

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -6,7 +7,6 @@ HTTP POST
followlocation
</keywords>
</info>
#
# Server-side
<reply>
<data crlf="headers">
@@ -39,7 +39,6 @@ body
</datacheck>
</reply>
#
# Client-side
<client>
<server>
@@ -53,7 +52,6 @@ http://%HOSTIP:%HTTPPORT/blah/%TESTNUMBER -L -d "moo" --post301
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol crlf="yes" nonewline="yes">

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -5,12 +6,10 @@ curl-config
</keywords>
</info>
#
# Server-side
<reply>
</reply>
#
# Client-side
<client>
<name>
@@ -21,7 +20,6 @@ Compare curl --version with curl-config --protocols
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<postcheck>

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -5,12 +6,10 @@ curl-config
</keywords>
</info>
#
# Server-side
<reply>
</reply>
#
# Client-side
<client>
<name>
@@ -21,7 +20,6 @@ Compare curl --version with curl-config --features
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<postcheck>

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -7,7 +8,6 @@ HTTP POST
</keywords>
</info>
#
# Server-side
<reply>
<data crlf="headers">
@@ -18,7 +18,6 @@ Content-Length: 0
</data>
</reply>
#
# Client-side
<client>
<server>
@@ -39,7 +38,6 @@ content to _?!#$'|%LT%GT
</file>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol crlf="yes" nonewline="yes">

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -5,12 +6,10 @@ curl-config
</keywords>
</info>
#
# Server-side
<reply>
</reply>
#
# Client-side
<client>
<name>
@@ -21,7 +20,6 @@ Compare curl --version with curl-config --version
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<postcheck>

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -5,12 +6,10 @@ curl-config
</keywords>
</info>
#
# Server-side
<reply>
</reply>
#
# Client-side
<client>
<name>
@@ -21,7 +20,6 @@ Compare curl --version with curl-config --vernum
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<postcheck>

View File

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

View File

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

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -5,12 +6,10 @@
</keywords>
</info>
#
# Server-side
<reply>
</reply>
#
# Client-side
<client>
<features>
@@ -24,7 +23,6 @@ curl --manual
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
# Search for these two sentinel lines in the manual output; if they are found,

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -5,12 +6,10 @@
</keywords>
</info>
#
# Server-side
<reply>
</reply>
#
# Client-side
<client>
<name>
@@ -21,7 +20,6 @@ curl --help
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<errorcode>

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -10,7 +11,6 @@ FILE
</keywords>
</info>
#
# Server-side
<reply>
<data1 crlf="headers">
@@ -34,7 +34,6 @@ works
</data2>
</reply>
#
# Client-side
<client>
<server>
@@ -49,7 +48,6 @@ http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001 -L
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol crlf="yes">

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -7,7 +8,6 @@ Range
</keywords>
</info>
#
# Server-side
<reply>
<data>
@@ -25,7 +25,6 @@ Funny-head: yesyes
</data>
</reply>
#
# Client-side
<client>
<server>
@@ -39,7 +38,6 @@ HTTP HEAD with --range
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol crlf="headers">

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
#
# This case with an unexpected 1xx response used to cause a "hang" before the fix
# got 7.19.0
<info>
@@ -9,7 +9,6 @@ HTTP GET
</keywords>
</info>
#
# Server-side
<reply>
<data>
@@ -30,7 +29,6 @@ Funny-head: yesyes
</data>
</reply>
#
# Client-side
<client>
<server>
@@ -44,7 +42,6 @@ http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol crlf="headers">

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -10,12 +11,10 @@ config file
</keywords>
</info>
#
# Server-side
<reply>
</reply>
#
# Client-side
<client>
<features>
@@ -41,7 +40,6 @@ url = "http://invalid-utf8-%hex[%e2%90]hex%.local/page/%TESTNUMBER"
</command>
</client>
#
<verify>
<errorcode>
3

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -9,12 +10,10 @@ FAILURE
</keywords>
</info>
#
# Server-side
<reply>
</reply>
#
# Client-side
<client>
<features>
@@ -34,7 +33,6 @@ http://too-long-IDN-name-c%hex[%c3%bc]hex%rl-r%hex[%c3%bc]hex%le%hex[%c3%9f]hex%
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<errorcode>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
# Similar to test92
<info>

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
# Similar to test33
<info>

View File

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

View File

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

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
# Similar to test141
<info>

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -7,7 +8,6 @@ HTTP GET
</keywords>
</info>
#
# Server-side
<reply>
<data crlf="headers">
@@ -22,7 +22,6 @@ Content-Type: text/plain
</data>
</reply>
#
# Client-side
<client>
<server>
@@ -36,7 +35,6 @@ http://%HOSTIP:%HTTPPORT/%TESTNUMBER --interface %CLIENTIP
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol crlf="headers">

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -8,7 +9,6 @@ IPv6
</keywords>
</info>
#
# Server-side
<reply>
<data crlf="headers">
@@ -23,7 +23,6 @@ Content-Type: text/plain
</data>
</reply>
#
# Client-side
<client>
<features>
@@ -40,7 +39,6 @@ HTTP-IPv6 GET with numeric localhost --interface
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol crlf="headers">

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -8,7 +9,6 @@ LIST
</keywords>
</info>
#
# Server-side
<reply>
<data mode="text">
@@ -26,7 +26,6 @@ dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
</data>
</reply>
#
# Client-side
<client>
<server>
@@ -40,7 +39,6 @@ ftp://%HOSTIP:%FTPPORT/ --interface %CLIENTIP
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol crlf="yes">

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -10,7 +11,6 @@ LIST
</keywords>
</info>
#
# Server-side
<reply>
<data mode="text">
@@ -28,7 +28,6 @@ dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
</data>
</reply>
#
# Client-side
<client>
<features>
@@ -45,7 +44,6 @@ FTP-IPv6 dir list PASV with localhost --interface
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol crlf="yes">

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -7,7 +8,6 @@ TFTP RRQ
</keywords>
</info>
#
# Server-side
<reply>
<data>
@@ -18,7 +18,6 @@ returned
</data>
</reply>
#
# Client-side
<client>
<server>
@@ -32,7 +31,6 @@ tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER --interface %CLIENTIP
</command>
</client>
#
# Verify pseudo protocol after the test has been "shot"
<verify>
<strip>

View File

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

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
# Similar to test 253
<info>

View File

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

View File

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

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
# Based on test 9
<info>

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -7,7 +8,6 @@ followlocation
</keywords>
</info>
#
# Server-side
<reply>
<data crlf="headers">
@@ -38,7 +38,6 @@ body
</datacheck>
</reply>
#
# Client-side
<client>
<server>
@@ -55,7 +54,6 @@ http://%HOSTIP:%HTTPPORT/blah/%TESTNUMBER -L -d @%LOGDIR/test%TESTNUMBER.txt --p
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol crlf="yes" nonewline="yes">

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -10,7 +11,6 @@ STOR
</keywords>
</info>
#
# Server-side
<reply>
<data crlf="headers">
@@ -25,7 +25,6 @@ Connection: close
</data>
</reply>
#
# Client-side
<client>
<server>
@@ -51,7 +50,6 @@ the
</file>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol>

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -8,7 +9,6 @@ IPv6
</keywords>
</info>
#
# Server-side
<reply>
<data crlf="headers">
@@ -39,7 +39,6 @@ body
</datacheck>
</reply>
#
# Client-side
<client>
# This test relies on the IPv6 scope field being ignored when connecting to
@@ -63,7 +62,6 @@ http://%HOSTIP:%HTTPPORT/we/are/all/twits/%TESTNUMBER -L
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol crlf="headers">

View File

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

View File

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

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -9,7 +10,6 @@ FAILURE
</keywords>
</info>
#
# Server-side
<reply>
<connect crlf="headers">
@@ -21,7 +21,6 @@ Content-Length: 0
</connect>
</reply>
#
# Client-side
<client>
<features>
@@ -39,7 +38,6 @@ ftp://test-number:%TESTNUMBER/wanted/page -p -x %HOSTIP:%HTTPPORT
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
# The server does not implement CONNECT for ftp, so this must be a failure test

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -27,7 +28,6 @@ still ok
# Client-side
<client>
#
<server>
http
</server>

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -28,7 +29,6 @@ still ok
# Client-side
<client>
#
<server>
http
</server>

View File

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

View File

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

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
# Similar to test 60
<info>

View File

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

View File

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

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -5,7 +6,6 @@ HTTP
HTTP POST
</keywords>
</info>
#
# Server-side
<reply>
<data crlf="headers">
@@ -22,7 +22,6 @@ skip: 2300
</servercmd>
</reply>
#
# Client-side
<client>
<server>
@@ -45,7 +44,6 @@ Here's 2000 x 'O':
</file>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol crlf="yes" nonewline="yes">

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
# Authorization is used to force curl to realize that the server is
# speaking HTTP 1.0. The request must be resent with the correct

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
# Authorization is used to force curl to realize that the server is
# speaking HTTP 1.0. The request is impossible to satisfy with HTTP 1.0

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
# Redirection is used to force curl to realize that the server is
# speaking HTTP 1.0. The request is impossible to satisfy with HTTP 1.0

View File

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

View File

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

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -6,7 +7,6 @@ HTTP POST
followlocation
</keywords>
</info>
#
# Server-side
<reply>
<data>
@@ -39,7 +39,6 @@ body
</datacheck>
</reply>
#
# Client-side
<client>
<server>
@@ -53,7 +52,6 @@ http://%HOSTIP:%HTTPPORT/blah/%TESTNUMBER -L -d "moo" --post302
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol crlf="yes" nonewline="yes">

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -9,7 +10,6 @@ HTTP proxy
</keywords>
</info>
#
# Server-side
<reply>
<data crlf="headers">
@@ -36,7 +36,6 @@ contents
</data2>
</reply>
#
# Client-side
<client>
<server>
@@ -54,7 +53,6 @@ FTP over HTTP proxy with downgrade to HTTP 1.0
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol crlf="headers">

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -10,7 +11,6 @@ proxytunnel
</keywords>
</info>
#
# Server-side
<reply>
<connect crlf="headers">
@@ -32,7 +32,6 @@ contents
</data>
</reply>
#
# Client-side
<client>
<server>
@@ -50,7 +49,6 @@ proxy
</features>
</client>
#
# Verify data after the test has been "shot"
<verify>
<proxy crlf="headers">

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -7,7 +8,6 @@ HTTP GET
</keywords>
</info>
#
# Server-side
<reply>
<data crlf="headers">
@@ -22,7 +22,6 @@ Content-Type: text/plain
</data>
</reply>
#
# Client-side
<client>
<server>
@@ -39,7 +38,6 @@ http://%HOSTIP:%HTTPPORT/%TESTNUMBER -4 --interface 127.0.0.1
</precheck>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol crlf="headers">

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -8,7 +9,6 @@ IPv6
</keywords>
</info>
#
# Server-side
<reply>
<data crlf="headers">
@@ -23,7 +23,6 @@ Content-Type: text/plain
</data>
</reply>
#
# Client-side
<client>
<features>
@@ -43,7 +42,6 @@ HTTP-IPv6 GET with ip6-localhost --interface
</precheck>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol crlf="headers">

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -9,12 +10,10 @@ non-existing host
</keywords>
</info>
#
# Server-side
<reply>
</reply>
#
# Client-side
<client>
<features>
@@ -28,7 +27,6 @@ http://%HOSTIP:%NOLISTENPORT/%TESTNUMBER --interface non-existing-host.haxx.se.
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<errorcode>

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -10,12 +11,10 @@ non-existing host
</keywords>
</info>
#
# Server-side
<reply>
</reply>
#
# Client-side
<client>
<features>
@@ -35,7 +34,6 @@ HTTP-IPv6 GET with invalid --interface
</precheck>
</client>
#
# Verify data after the test has been "shot"
<verify>
<errorcode>

View File

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

View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
@@ -10,7 +11,6 @@ followlocation
</keywords>
</info>
#
# Server-side
<reply>
<data1000 crlf="headers" nocheck="yes">
@@ -68,7 +68,6 @@ contents
</datacheck>
</reply>
#
# Client-side
<client>
<server>
@@ -85,7 +84,6 @@ proxy
</features>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol crlf="headers">

Some files were not shown because too many files have changed in this diff Show More