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

Add regression test for tr_strlcpy #2679

Merged
merged 1 commit into from Feb 22, 2022
Merged

Add regression test for tr_strlcpy #2679

merged 1 commit into from Feb 22, 2022

Conversation

ile6695
Copy link
Contributor

@ile6695 ile6695 commented Feb 22, 2022

This tests that tr_strlcpy() does indeed copy strings and truncates them when necessary. I understand if this is too low priority for a test.
Mostly tests system implementation of strlcpy(), but if someone changes transmission-provided alternative, there is a way to test it.

Copy link
Member

@ckerr ckerr left a comment

Choose a reason for hiding this comment

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

Thank you!

@ckerr ckerr merged commit c0b09d0 into transmission:main Feb 22, 2022
@ckerr ckerr added the type:test Adding missing tests or correcting existing tests label Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:test Adding missing tests or correcting existing tests
Development

Successfully merging this pull request may close these issues.

None yet

2 participants