]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tests: delete unused commands
authorViktor Szakats <commit@vsz.me>
Tue, 19 Aug 2025 14:09:04 +0000 (16:09 +0200)
committerViktor Szakats <commit@vsz.me>
Wed, 20 Aug 2025 13:31:22 +0000 (15:31 +0200)
`runtests.pl` defaults to `-` if a command is not set, since
c43ad0f97283a7e25d61a81b9f9f238432ec494b.

Also:
- drop a stray `</file>`.
- replace a `nothing` with a guaranteed invalid hostname.
  Ref: https://github.com/curl/curl/pull/18263/commits/4334033b43acca9b01ba43e08e611c8654feb84d
- replace unused URLs with `-`.

Closes #18319

23 files changed:
tests/data/test1330
tests/data/test1506
tests/data/test1508
tests/data/test1510
tests/data/test1512
tests/data/test1521
tests/data/test1537
tests/data/test1538
tests/data/test1550
tests/data/test1557
tests/data/test1564
tests/data/test1597
tests/data/test2402
tests/data/test2404
tests/data/test2502
tests/data/test3026
tests/data/test501
tests/data/test509
tests/data/test517
tests/data/test543
tests/data/test557
tests/data/test558
tests/data/test751

index 4e97162b5405593c359957220fc1cefedccb5dd9..93b860461457458df169487b13cf537ce79b6f08 100644 (file)
@@ -23,9 +23,6 @@ TrackMemory
 <name>
 unit tests memory tracking operational
 </name>
-<command>
-nothing
-</command>
 </client>
 
 #
index d3cec057808b11c732024b1a3844f756482df664..ed95e3be6f2925d3b2c8ed65f3ff90a4cd0b026e 100644 (file)
@@ -55,7 +55,7 @@ lib%TESTNUMBER
 HTTP GET connection cache limit (CURLMOPT_MAXCONNECTS)
 </name>
 <command>
-http://%HOSTIP:%HTTPPORT/path/%TESTNUMBER %HOSTIP %HTTPPORT
+- %HOSTIP %HTTPPORT
 </command>
 </client>
 
index 9b210ec0f3a7acea9c5223a7e589cbf587ddb5e5..65345df7b9f95f85e04fb46f7c3cafc56d52409c 100644 (file)
@@ -17,9 +17,6 @@ lib%TESTNUMBER
 <name>
 Close a multi handle without using it
 </name>
-<command>
-http://%HOSTIP:%NOLISTENPORT/path/%TESTNUMBER
-</command>
 </client>
 
 # Verify data after the test has been "shot"
index 236fbde3d90a2bbcb73d78965ec5a99b2f9f4c21..4a80b7a1d2f6312d8de121c0e0539e1ac65c9d3f 100644 (file)
@@ -55,7 +55,7 @@ lib%TESTNUMBER
 HTTP GET connection cache limit (CURLOPT_MAXCONNECTS)
 </name>
 <command>
-http://%HOSTIP:%HTTPPORT/path/%TESTNUMBER %HOSTIP %HTTPPORT
+- %HOSTIP %HTTPPORT
 </command>
 </client>
 
index c0c23467b2a8dc7b0cb8a35d2f4e6226d997aebe..a0e321432b44123c79ad17cf192aa017d7df2da4 100644 (file)
@@ -54,7 +54,7 @@ lib%TESTNUMBER
 GLOBAL CACHE test over two easy performs
 </name>
 <command>
-http://%HOSTIP:%HTTPPORT/path/%TESTNUMBER %HOSTIP %HTTPPORT
+- %HOSTIP %HTTPPORT
 </command>
 </client>
 
index f62f58c5f9bf71cf511721efdcdca0e9ca96698f..a6319e3f368fb1a4ae48914e51af0380feb11deb 100644 (file)
@@ -18,9 +18,6 @@ lib%TESTNUMBER
 <name>
 Test all curl_easy_setopt and curl_easy_getinfo options
 </name>
-<command>
-unused
-</command>
 </client>
 
 #
index c999e9a6bf8741852908f981461cac001beabbc5..9e585b7a23ca0d9c887f9b449cd55a6bc3a28dfb 100644 (file)
@@ -22,9 +22,6 @@ lib%TESTNUMBER
 <name>
 libcurl URL escape/unescape tests
 </name>
-<command>
-nothing
-</command>
 </client>
 
 #
index 0615a9a4cac7025e4a8b3d80ee1c5c5cda8de401..02f8bc431b33e4876438af59f0282540e02eaa80 100644 (file)
@@ -23,9 +23,6 @@ lib%TESTNUMBER
 <name>
 libcurl strerror API call tests
 </name>
-<command>
-nothing
-</command>
 </client>
 
 #
index 3d747792fe1655668ed1bde3e859ad231be9f247..8fd36f72e75a1e91bcdeaf452e06deffb55d3c92 100644 (file)
@@ -22,8 +22,5 @@ lib%TESTNUMBER
 <name>
 verify setting pipelining blocklisting options
 </name>
-<command>
-http://%HOSTIP:%NOLISTENPORT/%TESTNUMBER
-</command>
 </client>
 </testcase>
index ae4ac42a2c813faf1ceacf2720f7d7b83c6b6085..738a58dab74fe8d8add3643dd365b70bc88eae8a 100644 (file)
@@ -21,7 +21,7 @@ lib%TESTNUMBER
 Remove easy handle in pending connections doesn't leave dangling entry
 </name>
 <command>
-nothing
+hostname.invalid
 </command>
 </client>
 
index 59cef7157bf449a07b082ea98b60735d1fa534a2..e690674507de1fb7e9d28e76c0173ac8f8c6139c 100644 (file)
@@ -24,8 +24,6 @@ lib%TESTNUMBER
 <name>
 wakeup before poll with no easy handles
 </name>
-<command>
-</command>
 </client>
 
 # Verify data after the test has been "shot"
index 047bf7bd80deca976e5e4c1714d435ff62a6206f..0becf616caaa0b0379cecbc298bf77556435931e 100644 (file)
@@ -19,9 +19,6 @@ CURLOPT_PROTOCOLS_STR
 <tool>
 lib%TESTNUMBER
 </tool>
-<command>
--
-</command>
 </client>
 
 <verify>
index 563443171aecad819814ba51a1725a8cd4c01480..4e08e45ac48661573df557fb4160f00a857790f4 100644 (file)
@@ -60,7 +60,7 @@ lib%TESTNUMBER
 HTTP GET multiple files over HTTP/2 using HTTPS
 </name>
 <command>
-https://%HOSTIP:%HTTP2TLSPORT/path/%TESTNUMBER %HOSTIP %HTTP2TLSPORT
+- %HOSTIP %HTTP2TLSPORT
 </command>
 </client>
 
index 4ebcceac812943f830125cb7e875f5defe1dede6..13e48c8be5cdecaa86098168f0130ab7f57c25e5 100644 (file)
@@ -60,7 +60,7 @@ lib%TESTNUMBER
 HTTP/2 using STREAM_WEIGHTs
 </name>
 <command>
-https://%HOSTIP:%HTTP2TLSPORT/path/%TESTNUMBER %HOSTIP %HTTP2TLSPORT
+- %HOSTIP %HTTP2TLSPORT
 </command>
 </client>
 
index 311b23deffbcd42da87de047debb7f652ecd1d0d..f7822e8c26cec2f554f39372c293057199cb8571 100644 (file)
@@ -59,7 +59,7 @@ lib%TESTNUMBER
 HTTP GET multiple over HTTP/3
 </name>
 <command>
-https://%HOSTIP:%HTTP3PORT/path/%TESTNUMBER %HOSTIP %HTTP3PORT %CERTDIR/certs/test-ca.cacert
+- %HOSTIP %HTTP3PORT %CERTDIR/certs/test-ca.cacert
 </command>
 </client>
 
index ee9b30678be9615e8783a3367e52f66eede5a393..08d74c4d9f3718f04aaff1c8fc93a3c9503fe11f 100644 (file)
@@ -30,9 +30,6 @@ curl_global_init thread-safety
 <tool>
 lib%TESTNUMBER
 </tool>
-<command>
-none
-</command>
 </client>
 
 #
index fb115cba645f2818e7313342f28d4cddef43288b..3661351eaefac6fe3024f2b950c62483a4174f5c 100644 (file)
@@ -25,9 +25,6 @@ lib%TESTNUMBER
 <name>
 simple libcurl attempt operation without URL set
 </name>
-<command>
-http://%HOSTIP:%NOLISTENPORT/%TESTNUMBER
-</command>
 </client>
 
 #
index 4cdbe80dba3444aca0fb0c8a42f0f621629b8f04..4990f3738a19da0a4587cfe95b8f673f64521e49 100644 (file)
@@ -25,9 +25,6 @@ lib%TESTNUMBER
 <name>
 initialization with memory callbacks and actual usage
 </name>
-<command>
-nothing
-</command>
 </client>
 
 #
index ef18e3395ad54de187106e06bd6f8248df6f3755..fb57f4a4bec023974b03ddada96449f449e2176d 100644 (file)
@@ -23,9 +23,6 @@ lib%TESTNUMBER
 <name>
 curl_getdate() testing
 </name>
-<command>
-nothing
-</command>
 </client>
 
 #
index e3ac13bd2f1bbbc1bf5687da2df30d3f1a67f8f8..2ec9ff863fa56bb12ccc87a17c442ab9192a95c9 100644 (file)
@@ -17,10 +17,6 @@ lib%TESTNUMBER
 <name>
 curl_easy_escape
 </name>
-<command>
--
-</command>
-
 </client>
 
 # Verify data after the test has been "shot"
index 9d86c0ac2182d6b12d517d31c5ef27e99c615a2f..08394d229fdcde875f71ae1690ce2955127d4504 100644 (file)
@@ -23,9 +23,6 @@ lib%TESTNUMBER
 <name>
 curl_mprintf() testing
 </name>
-<command>
-nothing
-</command>
 </client>
 
 #
index a7d6129e9274da42f6e46d967f32d4c3400e5a77..2dcf270bf8b76b8c1eaecdc80468ebfce0e67acd 100644 (file)
@@ -27,9 +27,6 @@ lib%TESTNUMBER
 <name>
 libtest memory tracking operational
 </name>
-<command>
-nothing
-</command>
 </client>
 
 #
index 21a3df25071044031c2acda0ff09a3e8b4677235..49c6b67b1904ac8cea6f7c11b5af4ca0591455a7 100644 (file)
@@ -22,9 +22,6 @@ lib%TESTNUMBER
 <name>
 multi - add many easy handles
 </name>
-<command>
-</command>
-</file>
 </client>
 
 # 1000 easy handles needs memory