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 GET
HTTP Basic auth
HTTP proxy
http_proxy
NO_PROXY
</keywords>
</info>

View File

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

View File

@ -30,7 +30,7 @@ proxy
http
</server>
<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>
<setenv>
NO_PROXY=example.com

View File

@ -27,7 +27,7 @@ foo
http
</server>
<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>
<setenv>
NO_PROXY=example.com

View File

@ -3,6 +3,7 @@
<keywords>
HTTP
HTTP proxy
http_proxy
NO_PROXY
noproxy
</keywords>
@ -27,7 +28,7 @@ foo
http
</server>
<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>
<setenv>
http_proxy=http://%HOSTIP:%HTTPPORT

View File

@ -3,6 +3,7 @@
<keywords>
HTTP
HTTP proxy
http_proxy
NO_PROXY
noproxy
</keywords>
@ -27,7 +28,7 @@ foo
http
</server>
<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>
<setenv>
http_proxy=http://%HOSTIP:%HTTPPORT

View File

@ -3,6 +3,7 @@
<keywords>
HTTP
HTTP proxy
http_proxy
NO_PROXY
noproxy
</keywords>
@ -27,7 +28,7 @@ foo
http
</server>
<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>
<setenv>
http_proxy=http://%HOSTIP:%HTTPPORT

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -32,7 +32,7 @@ Funny-head: yesyes
http
</server>
<name>
HTTP GET URL without slash but with questionmark
HTTP GET URL without slash but with question mark
</name>
<command>
"http://%HOSTIP:%HTTPPORT?%TESTNUMBER"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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