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

curl: --test-duphandle in debug builds runs "duphandled" #15504

Closed
wants to merge 6 commits into from

Conversation

bagder
Copy link
Member

@bagder bagder commented Nov 7, 2024

Using this option only available in debug builds makes curl always call curl_easy_duphandle() on the handle before using it.

This should help us catch curl_easy_duphandle() mistakes better.

Add a CI job using this.

Bonus: the previous runtests option -e is now also supported as --test-event

  • fix remaining test fallouts
  • disable duphandle tests in specific (HSTS) test cases
  • update the runtests documentation

@github-actions github-actions bot added the CI Continuous Integration label Nov 7, 2024
@bagder bagder force-pushed the bagder/test-duphandle branch 2 times, most recently from 1a235c0 to 53dff3a Compare November 7, 2024 17:05
@dfandrich

This comment was marked as outdated.

@bagder bagder force-pushed the bagder/test-duphandle branch from 53dff3a to 5105c9d Compare November 7, 2024 22:17
Using this option only available in debug builds makes curl always call
curl_easy_duphandle() on the handle before using it.

This should help us catch curl_easy_duphandle() mistakes better.

Add a CI job using this.

Bonus: the previous runtests option -e is now also supported as
--test-event
... since we also disable the tests for that
@bagder bagder force-pushed the bagder/test-duphandle branch from 7aed621 to 569378e Compare November 8, 2024 10:57
@bagder bagder closed this in cbafcec Nov 8, 2024
@bagder bagder deleted the bagder/test-duphandle branch November 8, 2024 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration cmdline tool tests
Development

Successfully merging this pull request may close these issues.

2 participants