Skip to content

test 1605: move from unit to libtest - #22928

Closed
bagder wants to merge 1 commit into
masterfrom
bagder/not-unit
Closed

bagder wants to merge 1 commit into
masterfrom
bagder/not-unit

Conversation

@bagder

@bagder bagder commented Sep 12, 2026

Copy link
Copy Markdown
Member

It only uses public libcurl functions.

@bagder bagder added the tests label Sep 12, 2026
It only uses public libcurl functions.

Closes #22928
@bagder
bagder marked this pull request as ready for review September 13, 2026 14:30
@bagder
bagder requested a lite review from Copilot September 13, 2026 14:30

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.

🔵 Needs a closer look

Add curl_easy_unescape to the test keywords so filtered runs select this regression test.

Pull request overview

Moves test 1605 from the unit-test suite to libtest to validate public libcurl APIs.

Changes:

  • Removes and adds the relevant test registrations.
  • Renames the test entry point.
  • Updates metadata to invoke lib1605.
File summaries
File Description
tests/unit/Makefile.inc Removes unit-test registration.
tests/libtest/Makefile.inc Adds libtest registration.
tests/libtest/lib1605.c Renames the test entry point.
tests/data/test1605 Switches execution to the libtest tool.
Review details

Suppressed comments (1)

tests/data/test1605:5

  • This test exercises both curl_easy_escape and curl_easy_unescape (the latter at lib1605.c:58), but the keyword list only advertises curl_easy_escape. Because runtests.pl selects tests by these keywords, a run filtered with -k curl_easy_unescape will skip this regression test; add the missing keyword.
curl_easy_escape
  • Files reviewed: 4/4 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@bagder bagder closed this in 10c5f8e Sep 13, 2026
@bagder
bagder deleted the bagder/not-unit branch September 13, 2026 21:36
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.

2 participants