Skip to content

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

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

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

Conversation

@asakure

@asakure asakure commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Add system tests for groupadd in test_groupadd.py for
existing bash tests with numbering 22, 23, 24.

asakure added 3 commits July 21, 2026 23:21
This is Python transformation of the test located in
`tests/grouptools/groupadd/22_groupadd_usage/groupadd.test`
which checks that `groupadd` command shows usage with -h option

Signed-off-by: Akshay Sakure <asakure@redhat.com>
This is Python transformation of the test located in
`tests/grouptools/groupadd/23_groupadd_no_groups/groupadd.test`
which checks that `groupadd` fails when no groupname is
mentioned

Signed-off-by: Akshay Sakure <asakure@redhat.com>
This is Python transformation of the test located in
`tests/grouptools/groupadd/24_groupadd_2_groups/groupadd.test`
which checks that `groupadd` command fails when two groupnames
are mentioned

Signed-off-by: Akshay Sakure <asakure@redhat.com>
@asakure
asakure marked this pull request as ready for review July 23, 2026 15:01
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