curl-curl/tests/data/test390
Viktor Szakats b5ea0736bb
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
2025-12-12 17:17:24 +01:00

47 lines
801 B
XML

<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
HTTP
FTP
parallel
</keywords>
</info>
# Server-side
<reply>
<data nocheck="yes">
HTTP/1.1 200 OK
Content-Length: 10001
Content-Type: text/html
%repeat[1000 x hellohttp!]%
</data>
<data2 nocheck="yes">
%repeat[1000 x hello ftp!]%
</data2>
</reply>
# Client-side
<client>
<file name="%LOGDIR/test%TESTNUMBER.txt">
%repeat[1000 x hellofile!]%
</file>
<server>
http
ftp
</server>
<name>
curl HTTP, FILE and FTP in parallel
</name>
<command option="no-output">
http://%HOSTIP:%HTTPPORT/%TESTNUMBER file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt ftp://%HOSTIP:%FTPPORT/%TESTNUMBER0002 --parallel -o %LOGDIR/%TESTNUMBER.a -o %LOGDIR/%TESTNUMBER.b -o %LOGDIR/%TESTNUMBER.c
</command>
</client>
<verify>
</verify>
</testcase>