mirror of
https://github.com/curl/curl.git
synced 2025-09-09 13:49:44 +03:00
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:
parent
80f9f6e59b
commit
cbb80f215e
|
@ -4,6 +4,8 @@
|
|||
HTTP
|
||||
HTTP GET
|
||||
HTTP Basic auth
|
||||
HTTP proxy
|
||||
http_proxy
|
||||
NO_PROXY
|
||||
</keywords>
|
||||
</info>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<keywords>
|
||||
HTTP
|
||||
HTTP proxy
|
||||
http_proxy
|
||||
NO_PROXY
|
||||
noproxy
|
||||
</keywords>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
HTTP
|
||||
HTTP GET
|
||||
--resolve
|
||||
trailing dot
|
||||
trailing-dot
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ lib%TESTNUMBER
|
|||
</tool>
|
||||
|
||||
<name>
|
||||
verify setting pipeling blocklisting options
|
||||
verify setting pipelining blocklisting options
|
||||
</name>
|
||||
<command>
|
||||
http://%HOSTIP:%NOLISTENPORT/%TESTNUMBER
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<info>
|
||||
<keywords>
|
||||
unittest
|
||||
URLAPI
|
||||
urlapi
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
<keywords>
|
||||
HTTP
|
||||
HTTP GET
|
||||
HTTPS-proxy
|
||||
HTTPS-proxy Basic auth
|
||||
HTTPS proxy
|
||||
HTTPS proxy Basic auth
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
HTTPS-proxy
|
||||
HTTPS proxy
|
||||
flaky
|
||||
</keywords>
|
||||
</info>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
HTTPS-proxy
|
||||
HTTPS proxy
|
||||
flaky
|
||||
</keywords>
|
||||
</info>
|
||||
|
|
|
@ -17,7 +17,7 @@ unittest
|
|||
DoH
|
||||
</features>
|
||||
<name>
|
||||
DOH
|
||||
DoH parsing
|
||||
</name>
|
||||
</client>
|
||||
</testcase>
|
||||
|
|
|
@ -2,8 +2,7 @@
|
|||
<info>
|
||||
<keywords>
|
||||
unittest
|
||||
alt-svc
|
||||
altsvc
|
||||
Alt-Svc
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<info>
|
||||
<keywords>
|
||||
unittest
|
||||
doh
|
||||
DOH
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ none
|
|||
</server>
|
||||
|
||||
<name>
|
||||
Verify curl -h --badone
|
||||
Verify curl -h with bad option name
|
||||
</name>
|
||||
|
||||
<command>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
conn-reuse
|
||||
connection reuse
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
<info>
|
||||
<keywords>
|
||||
proxy
|
||||
unsupported scheme
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
unsupported protocol
|
||||
unsupported scheme
|
||||
FAILURE
|
||||
</keywords>
|
||||
</info>
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
STOR
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
MDTM
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
STOR
|
||||
MDTM
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
<info>
|
||||
<keywords>
|
||||
SFTP
|
||||
server sha256 key check
|
||||
server key check
|
||||
SHA256
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
<info>
|
||||
<keywords>
|
||||
SCP
|
||||
server sha256 key check
|
||||
server key check
|
||||
SHA256
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
command-line
|
||||
cmdline
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<keywords>
|
||||
HTTP
|
||||
HTTP PUT
|
||||
Expect
|
||||
Expect: 100-continue
|
||||
</keywords>
|
||||
</info>
|
||||
# Server-side
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<keywords>
|
||||
HTTP
|
||||
HTTP GET
|
||||
Chunked
|
||||
chunked Transfer-Encoding
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<keywords>
|
||||
HTTP
|
||||
HTTP GET
|
||||
Basic
|
||||
HTTP Basic auth
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<keywords>
|
||||
HTTP
|
||||
HTTP GET
|
||||
chunked transfer encoding
|
||||
chunked Transfer-Encoding
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -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}'
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<info>
|
||||
<keywords>
|
||||
--dump-header
|
||||
failure
|
||||
FAILURE
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
Resume
|
||||
error detection
|
||||
</keywords>
|
||||
</info>
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
<info>
|
||||
<keywords>
|
||||
HTTP
|
||||
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
<info>
|
||||
<keywords>
|
||||
HTTP
|
||||
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<info>
|
||||
<keywords>
|
||||
netrc
|
||||
pop3
|
||||
POP3
|
||||
</keywords>
|
||||
</info>
|
||||
#
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<info>
|
||||
<keywords>
|
||||
HTTP
|
||||
etags
|
||||
etag
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<info>
|
||||
<keywords>
|
||||
HTTP
|
||||
etags
|
||||
etag
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
STOR
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
STOR
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@ HTTP
|
|||
HTTP GET
|
||||
HTTP proxy
|
||||
HTTP proxy Basic auth
|
||||
http_proxy
|
||||
</keywords>
|
||||
</info>
|
||||
# Server-side
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<keywords>
|
||||
IMAP
|
||||
APPEND
|
||||
UPLOAD
|
||||
MULTIPART
|
||||
</keywords>
|
||||
</info>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<keywords>
|
||||
HTTP
|
||||
HTTP GET
|
||||
etags
|
||||
etag
|
||||
</keywords>
|
||||
</info>
|
||||
#
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
HTTP
|
||||
HTTP GET
|
||||
SOCKS5
|
||||
http_proxy
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -5,7 +5,7 @@ HTTP
|
|||
HTTP proxy
|
||||
--location
|
||||
Authorization
|
||||
Cookie
|
||||
cookies
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<keywords>
|
||||
HTTP
|
||||
HTTP GET
|
||||
Basic
|
||||
HTTP Basic auth
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ SMTP
|
|||
SASL
|
||||
SASL AUTH PLAIN
|
||||
RFC4616
|
||||
RFC4%TESTNUMBER
|
||||
RFC4954
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<keywords>
|
||||
HTTP
|
||||
HTTP GET
|
||||
Basic
|
||||
HTTP Basic auth
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
<info>
|
||||
<keywords>
|
||||
SMTPS
|
||||
UPLOAD
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
SMTP
|
||||
SASL
|
||||
UPLOAD
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user