Tests: Add system tests for groupadd in test_groupadd.py - #1725
Open
asakure wants to merge 3 commits into
Open
Conversation
asakure
marked this pull request as draft
August 25, 2026 11:38
This is Python transformation of the test located in `tests/grouptools/groupadd/17_groupadd_add_systemgroup/groupadd.test` which checks that `groupadd` can create system group with GID from the system GID range. Signed-off-by: Akshay Sakure <asakure@redhat.com>
This is Python transformation of the test located in `tests/grouptools/groupadd/18_groupadd_no_more_GID/groupadd.test` which checks that `groupadd` fails to create group when all GIDs in the range are exhausted. Signed-off-by: Akshay Sakure <asakure@redhat.com>
asakure
force-pushed
the
system_tests_groupadd_17_18_19
branch
from
August 25, 2026 12:11
123b1e4 to
fc551cd
Compare
This is Python transformation of the test located in `tests/grouptools/groupadd/19_groupadd_-r_no_more_system_GID/groupadd.test` which checks that `groupadd` fails to create system group when all GIDs in the range are exhausted. Signed-off-by: Akshay Sakure <asakure@redhat.com>
asakure
force-pushed
the
system_tests_groupadd_17_18_19
branch
from
August 25, 2026 12:59
fc551cd to
e7043cf
Compare
asakure
marked this pull request as ready for review
August 26, 2026 04:57
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.
Add system tests for groupadd in test_groupadd.py for
existing bash tests with numbering 17, 18, 19.