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

Unit test with valgrind #233

Merged
merged 3 commits into from
Mar 30, 2023
Merged

Unit test with valgrind #233

merged 3 commits into from
Mar 30, 2023

Conversation

engelmi
Copy link
Member

@engelmi engelmi commented Mar 30, 2023

This PR attempts to fix #232 by switching from inet_ntoa to inet_ntop.
In addition, it

  • restructures the current unit tests and introduces unit tests for assemble_tcp_address.
  • adds running the unit tests with valgrind to detect memory leaks in the workflow

Signed-off-by: Michael Engel <mengel@redhat.com>
…step

Signed-off-by: Michael Engel <mengel@redhat.com>
@engelmi engelmi force-pushed the unit-test-with-valgrind branch 2 times, most recently from 6f6126d to 60ba89f Compare March 30, 2023 12:23
Copy link
Member

@mwperina mwperina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Signed-off-by: Michael Engel <mengel@redhat.com>
@engelmi engelmi merged commit af53c70 into main Mar 30, 2023
@engelmi engelmi deleted the unit-test-with-valgrind branch March 30, 2023 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fedora rpminspect complains about the usage of inet_ntoa
2 participants