tests: unify test case keywords

Unify the case, punctuation and name of test case keywords so they can
be more easily selected or skipped when desired. Add a few keywords that
were missing. Fix a couple of typos in test names.
This commit is contained in:
Dan Fandrich 2025-04-04 11:35:33 -07:00
parent 80f9f6e59b
commit cbb80f215e
55 changed files with 63 additions and 43 deletions

View File

@ -4,6 +4,8 @@
HTTP HTTP
HTTP GET HTTP GET
HTTP Basic auth HTTP Basic auth
HTTP proxy
http_proxy
NO_PROXY NO_PROXY
</keywords> </keywords>
</info> </info>

View File

@ -30,7 +30,7 @@ mqtt
mqtt mqtt
</server> </server>
<name> <name>
MQTT SUBSCRIBE with PUBLISH befoire SUBACK MQTT SUBSCRIBE with PUBLISH before SUBACK
</name> </name>
<command option="binary-trace"> <command option="binary-trace">
mqtt://%HOSTIP:%MQTTPORT/%TESTNUMBER mqtt://%HOSTIP:%MQTTPORT/%TESTNUMBER

View File

@ -30,7 +30,7 @@ proxy
http http
</server> </server>
<name> <name>
Under condition using --proxy, override NO_PROXY by --nproxy and access target URL directly Under condition using --proxy, override NO_PROXY by --noproxy and access target URL directly
</name> </name>
<setenv> <setenv>
NO_PROXY=example.com NO_PROXY=example.com

View File

@ -27,7 +27,7 @@ foo
http http
</server> </server>
<name> <name>
Under condition using --proxy, override NO_PROXY by --nproxy and access target URL through proxy Under condition using --proxy, override NO_PROXY by --noproxy and access target URL through proxy
</name> </name>
<setenv> <setenv>
NO_PROXY=example.com NO_PROXY=example.com

View File

@ -3,6 +3,7 @@
<keywords> <keywords>
HTTP HTTP
HTTP proxy HTTP proxy
http_proxy
NO_PROXY NO_PROXY
noproxy noproxy
</keywords> </keywords>
@ -27,7 +28,7 @@ foo
http http
</server> </server>
<name> <name>
Under condition using http_proxy, override NO_PROXY by --nproxy and access target URL directly Under condition using http_proxy, override NO_PROXY by --noproxy and access target URL directly
</name> </name>
<setenv> <setenv>
http_proxy=http://%HOSTIP:%HTTPPORT http_proxy=http://%HOSTIP:%HTTPPORT

View File

@ -3,6 +3,7 @@
<keywords> <keywords>
HTTP HTTP
HTTP proxy HTTP proxy
http_proxy
NO_PROXY NO_PROXY
noproxy noproxy
</keywords> </keywords>
@ -27,7 +28,7 @@ foo
http http
</server> </server>
<name> <name>
Under condition using http_proxy, override NO_PROXY by --nproxy and access target URL through proxy Under condition using http_proxy, override NO_PROXY by --noproxy and access target URL through proxy
</name> </name>
<setenv> <setenv>
http_proxy=http://%HOSTIP:%HTTPPORT http_proxy=http://%HOSTIP:%HTTPPORT

View File

@ -3,6 +3,7 @@
<keywords> <keywords>
HTTP HTTP
HTTP proxy HTTP proxy
http_proxy
NO_PROXY NO_PROXY
noproxy noproxy
</keywords> </keywords>
@ -27,7 +28,7 @@ foo
http http
</server> </server>
<name> <name>
Under condition using http_proxy, override NO_PROXY by --nproxy and access target URL through proxy Under condition using http_proxy, override NO_PROXY by --noproxy and access target URL through proxy
</name> </name>
<setenv> <setenv>
http_proxy=http://%HOSTIP:%HTTPPORT http_proxy=http://%HOSTIP:%HTTPPORT

View File

@ -3,6 +3,7 @@
<keywords> <keywords>
HTTP HTTP
HTTP proxy HTTP proxy
http_proxy
NO_PROXY NO_PROXY
noproxy noproxy
</keywords> </keywords>

View File

@ -18,7 +18,7 @@ globbing
http http
</server> </server>
<name> <name>
globbing with overflow and bad syntxx globbing with overflow and bad syntax
</name> </name>
<command> <command>
http://ur%20[0-60000000000000000000 http://ur%20[0-60000000000000000000

View File

@ -4,7 +4,7 @@
HTTP HTTP
HTTP GET HTTP GET
--resolve --resolve
trailing dot trailing-dot
</keywords> </keywords>
</info> </info>

View File

@ -20,7 +20,7 @@ lib%TESTNUMBER
</tool> </tool>
<name> <name>
verify setting pipeling blocklisting options verify setting pipelining blocklisting options
</name> </name>
<command> <command>
http://%HOSTIP:%NOLISTENPORT/%TESTNUMBER http://%HOSTIP:%NOLISTENPORT/%TESTNUMBER

View File

@ -2,7 +2,7 @@
<info> <info>
<keywords> <keywords>
unittest unittest
URLAPI urlapi
</keywords> </keywords>
</info> </info>

View File

@ -3,8 +3,8 @@
<keywords> <keywords>
HTTP HTTP
HTTP GET HTTP GET
HTTPS-proxy HTTPS proxy
HTTPS-proxy Basic auth HTTPS proxy Basic auth
</keywords> </keywords>
</info> </info>

View File

@ -2,7 +2,7 @@
<info> <info>
<keywords> <keywords>
FTP FTP
HTTPS-proxy HTTPS proxy
flaky flaky
</keywords> </keywords>
</info> </info>

View File

@ -2,7 +2,7 @@
<info> <info>
<keywords> <keywords>
FTP FTP
HTTPS-proxy HTTPS proxy
flaky flaky
</keywords> </keywords>
</info> </info>

View File

@ -17,7 +17,7 @@ unittest
DoH DoH
</features> </features>
<name> <name>
DOH DoH parsing
</name> </name>
</client> </client>
</testcase> </testcase>

View File

@ -2,8 +2,7 @@
<info> <info>
<keywords> <keywords>
unittest unittest
alt-svc Alt-Svc
altsvc
</keywords> </keywords>
</info> </info>

View File

@ -2,7 +2,7 @@
<info> <info>
<keywords> <keywords>
unittest unittest
doh DOH
</keywords> </keywords>
</info> </info>

View File

@ -16,7 +16,7 @@ none
</server> </server>
<name> <name>
Verify curl -h --badone Verify curl -h with bad option name
</name> </name>
<command> <command>

View File

@ -1,7 +1,7 @@
<testcase> <testcase>
<info> <info>
<keywords> <keywords>
conn-reuse connection reuse
</keywords> </keywords>
</info> </info>

View File

@ -2,6 +2,7 @@
<info> <info>
<keywords> <keywords>
proxy proxy
unsupported scheme
</keywords> </keywords>
</info> </info>

View File

@ -1,7 +1,7 @@
<testcase> <testcase>
<info> <info>
<keywords> <keywords>
unsupported protocol unsupported scheme
FAILURE FAILURE
</keywords> </keywords>
</info> </info>

View File

@ -2,6 +2,7 @@
<info> <info>
<keywords> <keywords>
FTP FTP
STOR
</keywords> </keywords>
</info> </info>

View File

@ -2,6 +2,7 @@
<info> <info>
<keywords> <keywords>
FTP FTP
MDTM
</keywords> </keywords>
</info> </info>

View File

@ -2,6 +2,8 @@
<info> <info>
<keywords> <keywords>
FTP FTP
STOR
MDTM
</keywords> </keywords>
</info> </info>

View File

@ -2,7 +2,8 @@
<info> <info>
<keywords> <keywords>
SFTP SFTP
server sha256 key check server key check
SHA256
</keywords> </keywords>
</info> </info>

View File

@ -2,7 +2,8 @@
<info> <info>
<keywords> <keywords>
SCP SCP
server sha256 key check server key check
SHA256
</keywords> </keywords>
</info> </info>

View File

@ -38,7 +38,7 @@ http
lib%TESTNUMBER lib%TESTNUMBER
</tool> </tool>
<name> <name>
CURLOPT_COOKIELIST with netscape format CURLOPT_COOKIELIST with Netscape format
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER

View File

@ -1,7 +1,7 @@
<testcase> <testcase>
<info> <info>
<keywords> <keywords>
command-line cmdline
</keywords> </keywords>
</info> </info>

View File

@ -3,7 +3,7 @@
<keywords> <keywords>
HTTP HTTP
HTTP PUT HTTP PUT
Expect Expect: 100-continue
</keywords> </keywords>
</info> </info>
# Server-side # Server-side

View File

@ -3,7 +3,7 @@
<keywords> <keywords>
HTTP HTTP
HTTP GET HTTP GET
Chunked chunked Transfer-Encoding
</keywords> </keywords>
</info> </info>

View File

@ -3,7 +3,7 @@
<keywords> <keywords>
HTTP HTTP
HTTP GET HTTP GET
Basic HTTP Basic auth
</keywords> </keywords>
</info> </info>

View File

@ -3,7 +3,7 @@
<keywords> <keywords>
HTTP HTTP
HTTP GET HTTP GET
chunked transfer encoding chunked Transfer-Encoding
</keywords> </keywords>
</info> </info>

View File

@ -2,6 +2,7 @@
<info> <info>
<keywords> <keywords>
HTTPS HTTPS
--write-out
%{certs} %{certs}
</keywords> </keywords>
</info> </info>
@ -31,7 +32,7 @@ http
https https
</server> </server>
<name> <name>
%{certs} --write-out with %{certs}
</name> </name>
<command option="no-include"> <command option="no-include">
--insecure https://%HOSTIP:%HTTPSPORT/%TESTNUMBER -w '%{certs}' --insecure https://%HOSTIP:%HTTPSPORT/%TESTNUMBER -w '%{certs}'

View File

@ -2,7 +2,7 @@
<info> <info>
<keywords> <keywords>
--dump-header --dump-header
failure FAILURE
</keywords> </keywords>
</info> </info>

View File

@ -1,6 +1,7 @@
<testcase> <testcase>
<info> <info>
<keywords> <keywords>
Resume
error detection error detection
</keywords> </keywords>
</info> </info>

View File

@ -2,7 +2,6 @@
<info> <info>
<keywords> <keywords>
HTTP HTTP
</keywords> </keywords>
</info> </info>

View File

@ -2,7 +2,6 @@
<info> <info>
<keywords> <keywords>
HTTP HTTP
</keywords> </keywords>
</info> </info>

View File

@ -2,7 +2,7 @@
<info> <info>
<keywords> <keywords>
netrc netrc
pop3 POP3
</keywords> </keywords>
</info> </info>
# #

View File

@ -2,7 +2,7 @@
<info> <info>
<keywords> <keywords>
HTTP HTTP
etags etag
</keywords> </keywords>
</info> </info>

View File

@ -2,7 +2,7 @@
<info> <info>
<keywords> <keywords>
HTTP HTTP
etags etag
</keywords> </keywords>
</info> </info>

View File

@ -2,6 +2,7 @@
<info> <info>
<keywords> <keywords>
FTP FTP
STOR
</keywords> </keywords>
</info> </info>

View File

@ -2,6 +2,7 @@
<info> <info>
<keywords> <keywords>
FTP FTP
STOR
</keywords> </keywords>
</info> </info>

View File

@ -5,6 +5,7 @@ HTTP
HTTP GET HTTP GET
HTTP proxy HTTP proxy
HTTP proxy Basic auth HTTP proxy Basic auth
http_proxy
</keywords> </keywords>
</info> </info>
# Server-side # Server-side

View File

@ -3,6 +3,7 @@
<keywords> <keywords>
IMAP IMAP
APPEND APPEND
UPLOAD
MULTIPART MULTIPART
</keywords> </keywords>
</info> </info>

View File

@ -3,7 +3,7 @@
<keywords> <keywords>
HTTP HTTP
HTTP GET HTTP GET
etags etag
</keywords> </keywords>
</info> </info>
# #

View File

@ -4,6 +4,7 @@
HTTP HTTP
HTTP GET HTTP GET
SOCKS5 SOCKS5
http_proxy
</keywords> </keywords>
</info> </info>

View File

@ -52,7 +52,7 @@ CURL_TIME=1728465947
</file> </file>
<name> <name>
HSTS update expiry, removing includesubdomains in update HSTS update expiry, removing includeSubDomains in update
</name> </name>
<command> <command>
-x http://%HOSTIP:%PROXYPORT http://this.hsts.example:%HTTPSPORT/%TESTNUMBER --hsts %LOGDIR/input%TESTNUMBER --insecure -x http://%HOSTIP:%PROXYPORT http://this.hsts.example:%HTTPSPORT/%TESTNUMBER --hsts %LOGDIR/input%TESTNUMBER --insecure

View File

@ -5,7 +5,7 @@ HTTP
HTTP proxy HTTP proxy
--location --location
Authorization Authorization
Cookie cookies
</keywords> </keywords>
</info> </info>

View File

@ -3,7 +3,7 @@
<keywords> <keywords>
HTTP HTTP
HTTP GET HTTP GET
Basic HTTP Basic auth
</keywords> </keywords>
</info> </info>

View File

@ -5,7 +5,7 @@ SMTP
SASL SASL
SASL AUTH PLAIN SASL AUTH PLAIN
RFC4616 RFC4616
RFC4%TESTNUMBER RFC4954
</keywords> </keywords>
</info> </info>

View File

@ -3,7 +3,7 @@
<keywords> <keywords>
HTTP HTTP
HTTP GET HTTP GET
Basic HTTP Basic auth
</keywords> </keywords>
</info> </info>

View File

@ -2,6 +2,7 @@
<info> <info>
<keywords> <keywords>
SMTPS SMTPS
UPLOAD
</keywords> </keywords>
</info> </info>

View File

@ -1,7 +1,9 @@
<testcase> <testcase>
<info> <info>
<keywords> <keywords>
SMTP
SASL SASL
UPLOAD
</keywords> </keywords>
</info> </info>