Skip to content

tests/libtest/cli*: fix init/deinit, leaks, and more#19309

Closed
vszakats wants to merge 16 commits into
curl:masterfrom
vszakats:tcli
Closed

tests/libtest/cli*: fix init/deinit, leaks, and more#19309
vszakats wants to merge 16 commits into
curl:masterfrom
vszakats:tcli

Conversation

@vszakats

@vszakats vszakats commented Oct 31, 2025

Copy link
Copy Markdown
Member
  • add global init and deinit where missing.
  • check global init success.
  • improve cleaning up on error codepaths.
  • drop CLI_ERR() macro, that could quit.
    Also make error messages tell the reason.

w/o sp https://github.com/curl/curl/pull/19309/files?w=1

@vszakats vszakats added the tests label Oct 31, 2025
@vszakats vszakats closed this in 70f240b Oct 31, 2025
@vszakats
vszakats deleted the tcli branch October 31, 2025 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant