Skip to content

tests: fix 1301, 1308 to fail on error#17867

Closed
vszakats wants to merge 5 commits intocurl:masterfrom
vszakats:fix-test1301-1308
Closed

tests: fix 1301, 1308 to fail on error#17867
vszakats wants to merge 5 commits intocurl:masterfrom
vszakats:fix-test1301-1308

Conversation

@vszakats
Copy link
Copy Markdown
Member

@vszakats vszakats commented Jul 8, 2025

They were using a macro designed for unit tests. It does not fail when
used in libtests. Make similar macros for these tests, and make them
return a failure.

Also:

  • makes these two tests align with the rest of libtests, by including
    first.h instead of curlcheck.h.
  • since libtests no longer need to depend on tests/unit, drop this
    dependency from build scripts.

@vszakats vszakats changed the title tests: fix test 1301, 1308 to fail on error tests: fix tests 1301, 1308 to fail on error Jul 8, 2025
@vszakats vszakats changed the title tests: fix tests 1301, 1308 to fail on error tests: fix 1301, 1308 to fail on error Jul 8, 2025
@vszakats

This comment was marked as resolved.

@vszakats vszakats closed this in 9db9137 Jul 8, 2025
@vszakats vszakats deleted the fix-test1301-1308 branch July 8, 2025 22:56
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.

1 participant