Skip to content

Conversation

@kaddujames501-ship-it
Copy link

Issue #6324
Make sure these boxes are checked accordingly before submitting your Pull Request -- thank you.

Contribution style:

Our Contribution agreements:

Changes (if applicable):

Link to ticket: https://redmine.openinfosecfoundation.org/issues/6324

Describe changes:

  • Convert unittests to new FAIL/PASS API - stream-tcp-reassemble.c file

Provide values to any of the below to override the defaults.

  • To use a Suricata-Verify or Suricata-Update pull request,
    link to the pull request in the respective _BRANCH variable.
  • Leave unused overrides blank or remove.

SV_REPO=
SV_BRANCH=
SU_REPO=
SU_BRANCH=

James Kaddu: [email protected]

…SS API

This converts all remaining unit tests in stream-tcp-reassemble.c
to the new FAIL_IF / PASS API. Old return-based validation
(1/-1) in callbacks has been removed, and all tests now use
FAIL_IF for immediate assertion failures and PASS at the end
of the test functions.

Task OISF#6324
@github-actions
Copy link

NOTE: This PR may contain new authors.

@victorjulien victorjulien added the outreachy Contributions made by Outreachy applicants label Oct 25, 2025
@victorjulien
Copy link
Member

This again looks like it wasn't compile tested locally. Please don't submit any more PRs that fail to build or fail to pass unittests or SV.

@victorjulien
Copy link
Member

Replaced by #14138.

@kaddujames501-ship-it please next time close the old PR when opening a follow up PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

outreachy Contributions made by Outreachy applicants

Development

Successfully merging this pull request may close these issues.

2 participants