Skip to content

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

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

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

Conversation

@asakure

@asakure asakure commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Add system tests for groupadd in test_groupadd.py for
existing bash tests with numbering 14, 15, 16.

@asakure
asakure force-pushed the system_tests_groupadd_14_15_16 branch 2 times, most recently from 4fc8dd1 to d5658c0 Compare July 21, 2026 13:15
@asakure
asakure marked this pull request as ready for review July 23, 2026 05:33
This is Python transformation of the test located in
`tests/grouptools/groupadd/14_groupadd_invalid_-K_option/groupadd.test`
which checks if `groupadd` fails to create group when invalid key is
is mentioned with -K option

Signed-off-by: Akshay Sakure <asakure@redhat.com>
This is Python transformation of the test located in
`tests/grouptools/groupadd/'15_groupadd_invalid_-K_no_='/groupadd.test`
which checks if `groupadd` fails to create group with -K option when
argument is missing the equals(=) sign

Signed-off-by: Akshay Sakure <asakure@redhat.com>
This is Python transformation of the test located in
`tests/grouptools/groupadd/16_groupadd_existing_group/groupadd.test`
which checks that `groupadd` fails to create group when group
already exists

Signed-off-by: Akshay Sakure <asakure@redhat.com>
@asakure
asakure force-pushed the system_tests_groupadd_14_15_16 branch from d5658c0 to 79a1f9f Compare August 21, 2026 14:07
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