From ed73471960ee7d4b4fbb7eba3d379333f92ac40f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dirk=20M=C3=BCller?= Date: Tue, 14 Jan 2025 11:08:54 +0100 Subject: [PATCH] Add test to validate availability of nogroup/nobody --- tests/test_base.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/test_base.py b/tests/test_base.py index 78557708..fa3faed4 100644 --- a/tests/test_base.py +++ b/tests/test_base.py @@ -52,6 +52,15 @@ def test_iconv_working(auto_container): ) +@pytest.mark.skipif( + OS_VERSION in ("15.3", "15.4", "15.5"), + reason="unfixed in LTSS codestreams", +) +def test_group_nobody_working(auto_container): + """Test that nobody group is available in the container (bsc#1212118).""" + assert auto_container.connection.check_output("getent group nobody") + + @pytest.mark.skipif( not PODMAN_SELECTED, reason="docker size reporting is dependent on underlying filesystem",