mirror of
https://github.com/curl/curl.git
synced 2026-08-24 21:43:32 +03:00
curl: --test-duphandle in debug builds runs "duphandled"
Using this option (only available in debug builds) makes curl always call curl_easy_duphandle() on the handle before using it. To help us catch curl_easy_duphandle() mistakes better. Add a CI job using this. Bonus: the previous runtests option -e is now also supported as --test-event Closes #15504
This commit is contained in:
parent
354f3f96a1
commit
cbafcec50b
19 changed files with 93 additions and 10 deletions
|
|
@ -44,6 +44,10 @@ HSTS with trailing-dot host name in URL but none in hsts file
|
|||
<command>
|
||||
-x http://%HOSTIP:%HTTPPORT http://this.hsts.example./%TESTNUMBER --hsts %LOGDIR/input%TESTNUMBER -w '%{url_effective}\n'
|
||||
</command>
|
||||
|
||||
<disable>
|
||||
test-duphandle
|
||||
</disable>
|
||||
</client>
|
||||
|
||||
<verify>
|
||||
|
|
|
|||
|
|
@ -44,6 +44,9 @@ HSTS with no t-dot host name in URL but t-dot in file
|
|||
<command>
|
||||
-x http://%HOSTIP:%HTTPPORT http://this.hsts.example/%TESTNUMBER --hsts %LOGDIR/input%TESTNUMBER -w '%{url_effective}\n'
|
||||
</command>
|
||||
<disable>
|
||||
test-duphandle
|
||||
</disable>
|
||||
</client>
|
||||
|
||||
<verify>
|
||||
|
|
|
|||
|
|
@ -43,6 +43,9 @@ HSTS and %{url_effective} after upgrade
|
|||
<command>
|
||||
-x http://%HOSTIP:%HTTPPORT http://this.hsts.example/%TESTNUMBER --hsts %LOGDIR/input%TESTNUMBER -w '%{url_effective}\n'
|
||||
</command>
|
||||
<disable>
|
||||
test-duphandle
|
||||
</disable>
|
||||
</client>
|
||||
|
||||
<verify>
|
||||
|
|
|
|||
|
|
@ -55,6 +55,9 @@ HSTS with updated expiry in response
|
|||
<command>
|
||||
-x http://%HOSTIP:%PROXYPORT http://this.hsts.example:%HTTPSPORT/%TESTNUMBER --hsts %LOGDIR/input%TESTNUMBER -k
|
||||
</command>
|
||||
<disable>
|
||||
test-duphandle
|
||||
</disable>
|
||||
</client>
|
||||
|
||||
<verify>
|
||||
|
|
|
|||
|
|
@ -57,6 +57,9 @@ HSTS update expiry, with parent includeSubDomains domain present
|
|||
<command>
|
||||
-x http://%HOSTIP:%PROXYPORT http://this.hsts.example:%HTTPSPORT/%TESTNUMBER --hsts %LOGDIR/input%TESTNUMBER -k
|
||||
</command>
|
||||
<disable>
|
||||
test-duphandle
|
||||
</disable>
|
||||
</client>
|
||||
|
||||
<verify>
|
||||
|
|
|
|||
|
|
@ -57,6 +57,9 @@ HSTS update expiry, with two includeSubDomains domains present
|
|||
<command>
|
||||
-x http://%HOSTIP:%PROXYPORT http://this.hsts.example:%HTTPSPORT/%TESTNUMBER --hsts %LOGDIR/input%TESTNUMBER -k
|
||||
</command>
|
||||
<disable>
|
||||
test-duphandle
|
||||
</disable>
|
||||
</client>
|
||||
|
||||
<verify>
|
||||
|
|
|
|||
|
|
@ -57,6 +57,9 @@ HSTS update expiry, removing includesubdomains in update
|
|||
<command>
|
||||
-x http://%HOSTIP:%PROXYPORT http://this.hsts.example:%HTTPSPORT/%TESTNUMBER --hsts %LOGDIR/input%TESTNUMBER -k
|
||||
</command>
|
||||
<disable>
|
||||
test-duphandle
|
||||
</disable>
|
||||
</client>
|
||||
|
||||
<verify>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue