]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tests: unify test case keywords
authorDan Fandrich <dan@coneharvesters.com>
Fri, 4 Apr 2025 18:35:33 +0000 (11:35 -0700)
committerDan Fandrich <dan@coneharvesters.com>
Fri, 4 Apr 2025 20:23:15 +0000 (13:23 -0700)
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.

55 files changed:
tests/data/test1101
tests/data/test1194
tests/data/test1252
tests/data/test1253
tests/data/test1255
tests/data/test1256
tests/data/test1257
tests/data/test1265
tests/data/test1289
tests/data/test1322
tests/data/test1550
tests/data/test1560
tests/data/test1630
tests/data/test1631
tests/data/test1632
tests/data/test1650
tests/data/test1654
tests/data/test1655
tests/data/test1709
tests/data/test1919
tests/data/test219
tests/data/test23
tests/data/test235
tests/data/test247
tests/data/test248
tests/data/test260
tests/data/test3021
tests/data/test3022
tests/data/test3104
tests/data/test333
tests/data/test357
tests/data/test365
tests/data/test367
tests/data/test373
tests/data/test417
tests/data/test419
tests/data/test426
tests/data/test469
tests/data/test470
tests/data/test480
tests/data/test484
tests/data/test485
tests/data/test505
tests/data/test541
tests/data/test63
tests/data/test647
tests/data/test693
tests/data/test709
tests/data/test783
tests/data/test898
tests/data/test899
tests/data/test954
tests/data/test979
tests/data/test987
tests/data/test992

index 02aced8ce449df65724fa650c5c5c960090241bd..a17f2f9717d14515aaaad5f9f63371c5f0f28b86 100644 (file)
@@ -4,6 +4,8 @@
 HTTP
 HTTP GET
 HTTP Basic auth
+HTTP proxy
+http_proxy
 NO_PROXY
 </keywords>
 </info>
index cabf6beb0f172a0fc6311134d13b6f7e54768413..52d9292bca1b3ed99f13c17b5ac8b451be429c28 100644 (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
index 262cf3c9bcc41283a3aa08a6155c0fca6747cdcf..0fea2b67a35d934752f38e1200f69d481337994c 100644 (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
index 96f0a2d20fb5adfa9e00f6e107e1005055d2de49..a10732e4c351a420af56145708122d65545e6b20 100644 (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
index 7c1fa2438374dcfa93c87e6fe62d8834a7200093..f23f4660c4af358225e42379bf9abaa7d155371c 100644 (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
index f9f0fdc77b2882acc73d57a943269c112dfa5aba..fcbb6053c9d96ef321ec4aee3dbbd6359ce9e00b 100644 (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
index 82c61ee74bb0b6b937421a4896e70ba15575dc69..daf411e83820706a02cdc6843168ff2b59168b3e 100644 (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
index b18f2db7480a8b8e68a18af70b0bb6109fd9c6ec..16a7833c87e88e60eeb451795c2afba5ce8545d5 100644 (file)
@@ -3,6 +3,7 @@
 <keywords>
 HTTP
 HTTP proxy
+http_proxy
 NO_PROXY
 noproxy
 </keywords>
index 14a41458ab3bacca36d959b310c91ee0c66ffe66..e159f1d1720a50ebcb2cd75f0c65051f44c10a57 100644 (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
index ddc9aaa7f5b8063213de3bc4dc195c2b92cf29c6..a7095271091188765814118e23e77ca2eb302939 100644 (file)
@@ -4,7 +4,7 @@
 HTTP
 HTTP GET
 --resolve
-trailing dot
+trailing-dot
 </keywords>
 </info>
 
index 2d297a47af7790b4e056c3c2436716c4aaa8af1a..3d747792fe1655668ed1bde3e859ad231be9f247 100644 (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
index fc27000d149465541d615d0c073677a46a92bec7..8a991f9b9ed8d867594601908231900959064570 100644 (file)
@@ -2,7 +2,7 @@
 <info>
 <keywords>
 unittest
-URLAPI
+urlapi
 </keywords>
 </info>
 
index 35bc53fd414c6bc369633b611273333ee5a250b4..d8cdab826fce1a3276a96ea106aeac4fd5c698d4 100644 (file)
@@ -3,8 +3,8 @@
 <keywords>
 HTTP
 HTTP GET
-HTTPS-proxy
-HTTPS-proxy Basic auth
+HTTPS proxy
+HTTPS proxy Basic auth
 </keywords>
 </info>
 
index 4bd67843db708bcfcfcfbe6cc42a241707a33f93..16786b879af30dbaee3db1dd6ea2f3f1efac5a7a 100644 (file)
@@ -2,7 +2,7 @@
 <info>
 <keywords>
 FTP
-HTTPS-proxy
+HTTPS proxy
 flaky
 </keywords>
 </info>
index 1685ce7a70c7fe553cdd9722b5a52d12de796eab..1494eb40acfca03f27875e777dec56e6d1b683a4 100644 (file)
@@ -2,7 +2,7 @@
 <info>
 <keywords>
 FTP
-HTTPS-proxy
+HTTPS proxy
 flaky
 </keywords>
 </info>
index 57a06f05e13aed3c238c74ef03e34fa4ee931676..b99001923bd361d6bf86669e82de7bd5b10f31ba 100644 (file)
@@ -17,7 +17,7 @@ unittest
 DoH
 </features>
 <name>
-DOH
+DoH parsing
 </name>
 </client>
 </testcase>
index e759c681a4e94215c0de233f55acb1a37ac0c907..d7c1443bdbea45b7971922072fb8e236736dab21 100644 (file)
@@ -2,8 +2,7 @@
 <info>
 <keywords>
 unittest
-alt-svc
-altsvc
+Alt-Svc
 </keywords>
 </info>
 
index 6e791703149c10c7267afc30fc4d4f04e5e3c656..b69b36a29f46308525d73d1aa1b228daf1a24681 100644 (file)
@@ -2,7 +2,7 @@
 <info>
 <keywords>
 unittest
-doh
+DOH
 </keywords>
 </info>
 
index 8482ba49adfa0ed11e0f9eaba2ec37d31384fd16..efdc8a7d3e2ca355d114e92484e02328b8a5b9cc 100644 (file)
@@ -16,7 +16,7 @@ none
 </server>
 
 <name>
-Verify curl -h --badone
+Verify curl -h with bad option name
 </name>
 
 <command>
index 98613877ba52f4602a63905af95d6d047ef1596c..b5f4bb17c260797c76e0cf47316a5ac4b69daf22 100644 (file)
@@ -1,7 +1,7 @@
 <testcase>
 <info>
 <keywords>
-conn-reuse
+connection reuse
 </keywords>
 </info>
 
index 2e965f366e9f092121e20510d4a929884aa50d62..d597478b61793ca3033cac83d4f66923da58eb6b 100644 (file)
@@ -2,6 +2,7 @@
 <info>
 <keywords>
 proxy
+unsupported scheme
 </keywords>
 </info>
 
index 1f15b218e1a7ee868d0998cefa05cbc8e6900d27..ffb969164f25f866396da434fa0ee73b56d71db5 100644 (file)
@@ -1,7 +1,7 @@
 <testcase>
 <info>
 <keywords>
-unsupported protocol
+unsupported scheme
 FAILURE
 </keywords>
 </info>
index 485be98ecf2848f3f8adf4f17b86e04175168d1a..4e112398a089d823bd1e4db0bbd9f43de63c6153 100644 (file)
@@ -2,6 +2,7 @@
 <info>
 <keywords>
 FTP
+STOR
 </keywords>
 </info>
 
index 5eade37b30410ac95bc008ca0906a9417f517818..ec28ca81f893f8c42dfed4b766b96e286a7a6abe 100644 (file)
@@ -2,6 +2,7 @@
 <info>
 <keywords>
 FTP
+MDTM
 </keywords>
 </info>
 
index 2d5c845bae1ecc9e9256a6cbdf3ff2404ef1ea09..ed3f3779ff9e4c02ef5e98cb0f9b196e56557829 100644 (file)
@@ -2,6 +2,8 @@
 <info>
 <keywords>
 FTP
+STOR
+MDTM
 </keywords>
 </info>
 
index 7793b7646a7ecc927af21acc5dd4f3b59d9fc537..b72d6cd1663da0a277a241e7b4916052a5dbe4fa 100644 (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"
index 56b4f9b4f7ec3321b93d1cc8a43b785c3a3d0c71..8dbd7dd9dc1270a0e707dad7579c76633fe82a24 100644 (file)
@@ -2,7 +2,8 @@
 <info>
 <keywords>
 SFTP
-server sha256 key check
+server key check
+SHA256
 </keywords>
 </info>
 
index 1213a02884d41b377a51928dc7788bd38ab97cbb..4efd4ea5e8ae545c5c43aefa51765f7ea45a1f6e 100644 (file)
@@ -2,7 +2,8 @@
 <info>
 <keywords>
 SCP
-server sha256 key check
+server key check
+SHA256
 </keywords>
 </info>
 
index 58538985144b1c2e128ccefa1573499610fb640d..296bdc1dc172db7badf997305d5d84d2d2fb5116 100644 (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
index 8f048e6cbea671c71638991f26b41d018c47f46e..690e40759412ee2f3fea6ca9e87dfa55a3be9226 100644 (file)
@@ -1,7 +1,7 @@
 <testcase>
 <info>
 <keywords>
-command-line
+cmdline
 </keywords>
 </info>
 
index e7e4e6160aa2c01ba7303ff556ce654a906bad6a..8883cfffe80ec7b4d3ea9ae374826f88fdfff8e1 100644 (file)
@@ -3,7 +3,7 @@
 <keywords>
 HTTP
 HTTP PUT
-Expect
+Expect: 100-continue
 </keywords>
 </info>
 # Server-side
index 05ab8faa36e6b92ef8ffe39e9b7e53f24cbf2425..40f0540bcc136533bf2880355ed49ee91bc7d01a 100644 (file)
@@ -3,7 +3,7 @@
 <keywords>
 HTTP
 HTTP GET
-Chunked
+chunked Transfer-Encoding
 </keywords>
 </info>
 
index de8b9014a3422395ec2770533455f8212e9a96fd..1ee59cedfd6998a7f25d00fd24bb8623d8d0da8a 100644 (file)
@@ -3,7 +3,7 @@
 <keywords>
 HTTP
 HTTP GET
-Basic
+HTTP Basic auth
 </keywords>
 </info>
 
index b11f227f20f20fea09f4f2c5b534f79f697a3742..5a51fe968f13ccfc481ccfed115fd2570b0c863e 100644 (file)
@@ -3,7 +3,7 @@
 <keywords>
 HTTP
 HTTP GET
-chunked transfer encoding
+chunked Transfer-Encoding
 </keywords>
 </info>
 
index f286e41925361eb25f20d4d7682dd1bc1253c34e..0e7ac831d1a30ade68f2255885d0d4d7c90884e1 100644 (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}'
index f8ec82522b1a3348e47cce404d8144eb2a4e18ca..d0f48a9f7cadf80fa0e184cf2401a0d53ba3076a 100644 (file)
@@ -2,7 +2,7 @@
 <info>
 <keywords>
 --dump-header
-failure
+FAILURE
 </keywords>
 </info>
 
index 34c80c6aaedb66b61416a7cf63ffc1ade5f327fc..cc66108d144f0be489c1caa2146d271823fa90fd 100644 (file)
@@ -1,6 +1,7 @@
 <testcase>
 <info>
 <keywords>
+Resume
 error detection
 </keywords>
 </info>
index 81d341cd8c47b60897c2d75ee352ae98d3b8c7fe..b6f0bdbdea7c7fc26ec58d4405ecf8d67bf54730 100644 (file)
@@ -2,7 +2,6 @@
 <info>
 <keywords>
 HTTP
-
 </keywords>
 </info>
 
index a3f05f8cbeaee93acfbe65f833b3fb3a2b815e90..7b2da01e830f9128d8364a234b38fc06da96f67e 100644 (file)
@@ -2,7 +2,6 @@
 <info>
 <keywords>
 HTTP
-
 </keywords>
 </info>
 
index aab889f472caa22a16e719483eae4e23802969c4..96149412b5545917bd0fe5408c63b54d4d4acf28 100644 (file)
@@ -2,7 +2,7 @@
 <info>
 <keywords>
 netrc
-pop3
+POP3
 </keywords>
 </info>
 #
index 4c5c4cc250d4a032bc3cdfa5b35bd3930e05a63a..3850ce4df26dafd1088476692bd9b2e19a344878 100644 (file)
@@ -2,7 +2,7 @@
 <info>
 <keywords>
 HTTP
-etags
+etag
 </keywords>
 </info>
 
index a6405a61f884712ee4c50aff1d345f1f10f5b681..01761e956261bc0fb5edfac1dc7aff68aa2872c7 100644 (file)
@@ -2,7 +2,7 @@
 <info>
 <keywords>
 HTTP
-etags
+etag
 </keywords>
 </info>
 
index aa26ccb5f97d352920864ea19edf4a9ed3166b47..70dfcda06aea1cf826dcf18a73f152956cd7011b 100644 (file)
@@ -2,6 +2,7 @@
 <info>
 <keywords>
 FTP
+STOR
 </keywords>
 </info>
 
index 9492d0854e27349d60477ac43478ce67c20a9334..ed4de68b982adeb5eca9421959b54d27023247ea 100644 (file)
@@ -2,6 +2,7 @@
 <info>
 <keywords>
 FTP
+STOR
 </keywords>
 </info>
 
index 3a7e015fd3560431a2c2551eb94f0e204d84f228..5f659a6ae354ff4fab3c2e3ae0f213c0e3596331 100644 (file)
@@ -5,6 +5,7 @@ HTTP
 HTTP GET
 HTTP proxy
 HTTP proxy Basic auth
+http_proxy
 </keywords>
 </info>
 # Server-side
index d34fe21f74272f279c203ec91a56f21af26d4d54..8cac4577e1ee3f263c4c632af0aaf828cefb02b2 100644 (file)
@@ -3,6 +3,7 @@
 <keywords>
 IMAP
 APPEND
+UPLOAD
 MULTIPART
 </keywords>
 </info>
index 533ce8031171cc29d310a64228bbd864b102f110..d7bd193ac2c8b57ecfebaa0bdfdfab42d456dea7 100644 (file)
@@ -3,7 +3,7 @@
 <keywords>
 HTTP
 HTTP GET
-etags
+etag
 </keywords>
 </info>
 #
index 656675395c7fda425a8d40843be24e0bec91ef5c..2b2b952c18dd4fe777d50d67f9280f49747a7335 100644 (file)
@@ -4,6 +4,7 @@
 HTTP
 HTTP GET
 SOCKS5
+http_proxy
 </keywords>
 </info>
 
index 1f888738ed1785255b71c7316add86b8f07ccf31..be7004ed8a0ffd5fe5719f1a6d411a170afc2bdd 100644 (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
index c6dba52d6795538779dd64e429ade3e70ec823c0..cffbc629b2894342671338a4a64e1e7c3703969f 100644 (file)
@@ -5,7 +5,7 @@ HTTP
 HTTP proxy
 --location
 Authorization
-Cookie
+cookies
 </keywords>
 </info>
 
index d1f1936fc0c9729376db2a39f05a185dd502b823..5f163ab29f08eef3ba33e6e2b95f17cd3276e46a 100644 (file)
@@ -3,7 +3,7 @@
 <keywords>
 HTTP
 HTTP GET
-Basic
+HTTP Basic auth
 </keywords>
 </info>
 
index 698786b4db5560d12c4d5f5a76ffd0b2074f0290..0bb6488dd6e00a610862067423e5964905ae9100 100644 (file)
@@ -5,7 +5,7 @@ SMTP
 SASL
 SASL AUTH PLAIN
 RFC4616
-RFC4%TESTNUMBER
+RFC4954
 </keywords>
 </info>
 
index 40cc35044d9f6d484c75598444d9fe0325713c8c..98a7d839145f21db336c687ac555e4ac1218f347 100644 (file)
@@ -3,7 +3,7 @@
 <keywords>
 HTTP
 HTTP GET
-Basic
+HTTP Basic auth
 </keywords>
 </info>
 
index ae69b8de87617abfcac35806167d12a82d00a7d6..c58ae77e1382a86f95552c991667755f51f28dc4 100644 (file)
@@ -2,6 +2,7 @@
 <info>
 <keywords>
 SMTPS
+UPLOAD
 </keywords>
 </info>
 
index dad0aa51a5fbaad09f3a45360d227b34377f4f99..a4b24376f393f38c0d775d0c115e9e15009ca956 100644 (file)
@@ -1,7 +1,9 @@
 <testcase>
 <info>
 <keywords>
+SMTP
 SASL
+UPLOAD
 </keywords>
 </info>