Tests: validate useradd behavior for invalid, out-of-range, and maximum boundary UIDs#1604
Merged
ikerexxe merged 2 commits intoshadow-maint:masterfrom Mar 31, 2026
Merged
Conversation
ikerexxe
reviewed
Mar 31, 2026
Collaborator
ikerexxe
left a comment
There was a problem hiding this comment.
Since the current PR touches several distinct test files I suggest updating the title to something like ''Tests: validate useradd behavior for invalid, out-of-range, and maximum boundary UIDs'.
Additionally, can you wrap the commit message lines at roughly 72 characters? Some of the lines are quite long, and keeping them within standard widths ensures the git history remains readable for everyone using terminal-based tools.
366a61a to
15fe4b8
Compare
This is the transformation to Python of the test located in `tests/usertools/01/13_useradd_negative_UID.test`, `tests/usertools/01/14_useradd_out_of_range_UID.test` which checks that `useradd` can not add a new user with invalid UID
a155c63 to
093995a
Compare
ikerexxe
reviewed
Mar 31, 2026
This is the transformation to Python of the test located in `tests/usertools/01/15_useradd_specified_large_UID.test` which checks that `useradd` can add a new user with large UID
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is the transformation to Python of the test located in
tests/usertools/01/13_useradd_negative_UID.test,tests/usertools/01/14_useradd_out_of_range_UID.testwhich checks thatuseraddcan not add a new user with invalid UID