Skip to content

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

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

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

Conversation

@asakure

@asakure asakure commented Jun 23, 2026

Copy link
Copy Markdown

Add system tests for groupadd in test_groupadd.py.

asakure added 3 commits June 23, 2026 19:15
Add test_groupadd__set_gid to verify that groupadd correctly assigns
a custom GID when using the -g flag.

Signed-off-by: Akshay Sakure <asakure@redhat.com>
Add test_groupadd__set_password to verify that groupadd correctly sets
the password for the group when using the -p flag.

Signed-off-by: Akshay Sakure <asakure@redhat.com>
Add test_groupadd__f_option_add_existing_group to verify that
groupadd command exits successfully if mentioned group already
exists while using the -f flag.

Signed-off-by: Akshay Sakure <asakure@redhat.com>
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