Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: add cookies keyword and features #10713

Closed
wants to merge 2 commits into from

Conversation

MarcelRaad
Copy link
Member

It fails with --disable-cookies.

As seen in the autobuilds: https://curl.se/dev/log.cgi?id=20230308051817-71055#prob1

It fails with `--disable-cookies`.

Closes curl#10713
@bagder
Copy link
Member

bagder commented Mar 8, 2023

You need to add cookies as a <feature> within the <client> section.

@MarcelRaad
Copy link
Member Author

Right, thanks! I'll do that in a separate commit for all cookie tests. AFAICS, all of them are missing the feature. I wonder why I didn't do that earlier and still disable them via the label. 😕

These tests don't work with `--disable-cookies`.

Closes curl#10713
@MarcelRaad MarcelRaad changed the title test420: add cookies keyword tests: add cookies keyword and features Mar 9, 2023
@MarcelRaad
Copy link
Member Author

Pushed another commit to add cookies to <features>. Verified locally that the cookie tests still run with cookies enabled:

./runtests.pl cookies
[...]
TESTDONE: 42 tests out of 42 reported OK: 100%

@bagder
Copy link
Member

bagder commented Mar 9, 2023

I wonder why I didn't do that earlier and still disable them via the label.

I presume we started out using the label approach before we made it a testable feature.

@MarcelRaad MarcelRaad closed this in 387dbe5 Mar 9, 2023
MarcelRaad added a commit that referenced this pull request Mar 9, 2023
These tests don't work with `--disable-cookies`.

Closes #10713
@MarcelRaad MarcelRaad deleted the test420_disable-cookies branch March 9, 2023 13:34
bch pushed a commit to bch/curl that referenced this pull request Jul 19, 2023
It fails with `--disable-cookies`.

Closes curl#10713
bch pushed a commit to bch/curl that referenced this pull request Jul 19, 2023
These tests don't work with `--disable-cookies`.

Closes curl#10713
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants