mirror of
https://github.com/curl/curl.git
synced 2026-08-05 01:06:13 +03:00
runtests: improve XML prolog check, enable -w permanently, fix two tests
To really verify the presence of the XML prolog, also in CI. - move the prolog check from `loadtest` to `checktest`. (load did a soft error, silently skipping the test instead of failing) - runtests: enable `-w` functionality permanently for all test targets, drop the option. It has no measurable performance impact. - test 798, 1665: add XML prolog. Follow-up tof0d277cb0eFollow-up tob5ea0736bb#19946 Follow-up to904e7ecb66#19347 Closes #19970
This commit is contained in:
parent
b714c674f3
commit
187e219616
9 changed files with 24 additions and 38 deletions
|
|
@ -1,3 +1,4 @@
|
|||
<?xml version="1.0" encoding="US-ASCII"?>
|
||||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
|
|
@ -5,7 +6,6 @@ HTTP
|
|||
</keywords>
|
||||
</info>
|
||||
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
|
|
@ -22,7 +22,6 @@ Funny-head: swsclose
|
|||
</data>
|
||||
</reply>
|
||||
|
||||
#
|
||||
# Client-side
|
||||
<client>
|
||||
<server>
|
||||
|
|
@ -36,7 +35,6 @@ http://%HOSTIP:%HTTPPORT/%TESTNUMBER
|
|||
</command>
|
||||
</client>
|
||||
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<protocol crlf="headers">
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<?xml version="1.0" encoding="US-ASCII"?>
|
||||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
|
|
@ -7,9 +8,8 @@ cookies
|
|||
cookiejar
|
||||
</keywords>
|
||||
</info>
|
||||
# Server-side
|
||||
#
|
||||
|
||||
# Server-side
|
||||
<reply>
|
||||
<data crlf="headers" nocheck="yes">
|
||||
HTTP/1.1 200 OK
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue