Skip to content

Commit

Permalink
Add test to validate availability of nogroup/nobody
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkmueller committed Jan 14, 2025
1 parent 2efdc95 commit 1cee55c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@ def test_iconv_working(auto_container):
)


def test_group_nogroup_working(auto_container):
"""Test that nobody/nogroup is available in the container (bsc#1212118)."""
assert auto_container.connection.check_output(
"grep -qF 'nobody:' /etc/group"
)


@pytest.mark.skipif(
not PODMAN_SELECTED,
reason="docker size reporting is dependent on underlying filesystem",
Expand Down

0 comments on commit 1cee55c

Please sign in to comment.