]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tests: add `cookies` feature to some tests 21858/head
authorMarcel Raad <Marcel.Raad@teamviewer.com>
Wed, 3 Jun 2026 06:58:08 +0000 (08:58 +0200)
committerMarcel Raad <Marcel.Raad@teamviewer.com>
Wed, 3 Jun 2026 10:44:45 +0000 (12:44 +0200)
These fail without cookie support.

Closes https://github.com/curl/curl/pull/21858

tests/data/test2015
tests/data/test2504
tests/data/test7

index 6cd758471e1055739669b7d9e76427eed0562666..d0479c5b7bd6286d4e0192db691cd2a80af4f962 100644 (file)
@@ -66,6 +66,7 @@ HTTP with cookie with with -b and redirect to new host
 http://first.host.it.is/we/want/that/page/%TESTNUMBER -x %HOSTIP:%HTTPPORT -b "test=yes" --location
 </command>
 <features>
+cookies
 proxy
 </features>
 </client>
index 8cec1c8210f21f72d8563919bac150c185c06e6f..7bb4a81ed7e6f9c744552bd2f4303c43c7ced45f 100644 (file)
@@ -34,6 +34,9 @@ custom Host with cookie, handle reuse, no custom Host:
 <command>
 http://%HOSTIP:%HTTPPORT
 </command>
+<features>
+cookies
+</features>
 </client>
 
 # Verify data after the test has been "shot"
index 0f00d80097620914e9d6925d487ecf81d4a15f2c..ccdac1927380ded39ec5d41d670ce494aa257bfc 100644 (file)
@@ -35,6 +35,9 @@ HTTP with cookie parser and header recording
 <command>
 http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -b none -D %LOGDIR/heads%TESTNUMBER.txt
 </command>
+<features>
+cookies
+</features>
 </client>
 
 # Verify data after the test has been "shot"