Skip to content

tests: add cookies feature to some tests#21858

Merged
MarcelRaad merged 1 commit into
curl:masterfrom
MarcelRaad:fix_cookie_tests
Jun 3, 2026
Merged

tests: add cookies feature to some tests#21858
MarcelRaad merged 1 commit into
curl:masterfrom
MarcelRaad:fix_cookie_tests

Conversation

@MarcelRaad

Copy link
Copy Markdown
Member

These fail without cookie support.

This fixes my autobuilds.

Copilot AI review requested due to automatic review settings June 3, 2026 10:44
@github-actions github-actions Bot added the tests label Jun 3, 2026
These fail without cookie support.

Closes curl#21858

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates curl’s test definitions to explicitly require cookie support for a few HTTP tests that depend on cookie handling, ensuring they get skipped (instead of failing) when curl is built with cookies disabled.

Changes:

  • Add cookies to the <features> requirements for tests/data/test7.
  • Add cookies to the <features> requirements for tests/data/test2504.
  • Add cookies to the <features> requirements for tests/data/test2015 (alongside existing proxy).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
tests/data/test7 Declares cookies as a required feature for a cookie/header-related HTTP test.
tests/data/test2504 Declares cookies as a required feature for a cookie-related handle reuse test.
tests/data/test2015 Adds cookies to required features for a cookie + proxy + redirect test.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@MarcelRaad MarcelRaad closed this in 75a94f3 Jun 3, 2026
@MarcelRaad MarcelRaad merged commit 75a94f3 into curl:master Jun 3, 2026
181 checks passed
@MarcelRaad MarcelRaad deleted the fix_cookie_tests branch June 3, 2026 11:45
outcast36 pushed a commit to greearb/curl that referenced this pull request Jun 3, 2026
These fail without cookie support.

Closes curl#21858
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.

3 participants