Skip to content

Tests: Add system tests for groupadd in test_groupadd.py - #1725

Open
asakure wants to merge 3 commits into
shadow-maint:masterfrom
asakure:system_tests_groupadd_17_18_19
Open

Tests: Add system tests for groupadd in test_groupadd.py#1725
asakure wants to merge 3 commits into
shadow-maint:masterfrom
asakure:system_tests_groupadd_17_18_19

Conversation

@asakure

@asakure asakure commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Add system tests for groupadd in test_groupadd.py for
existing bash tests with numbering 17, 18, 19.

@asakure
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
asakure force-pushed the system_tests_groupadd_17_18_19 branch from 123b1e4 to fc551cd Compare August 25, 2026 12:11
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
asakure force-pushed the system_tests_groupadd_17_18_19 branch from fc551cd to e7043cf Compare August 25, 2026 12:59
@asakure
asakure marked this pull request as ready for review August 26, 2026 04:57
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.

1 participant