From: Iker Pedrosa Date: Tue, 14 Apr 2026 11:31:24 +0000 (+0200) Subject: tests: update newgrp tests to expect GID 1002 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=49ff9bf33a7b6af57cb26688c3139f014302c9d9;p=thirdparty%2Fshadow.git tests: update newgrp tests to expect GID 1002 Update test assertion to expect GID 1002 instead of 1001 to match the new container environment where a CI user occupies ID 1000. Signed-off-by: Iker Pedrosa --- diff --git a/tests/system/tests/test_newgrp.py b/tests/system/tests/test_newgrp.py index b955a8226..a043f32d0 100644 --- a/tests/system/tests/test_newgrp.py +++ b/tests/system/tests/test_newgrp.py @@ -31,4 +31,4 @@ def test_newgrp__change_to_new_group(shadow: Shadow): cmd, gid = shadow.newgrp("tgroup", run_as="tuser") assert cmd.rc == 0, "newgrp command should succeed" - assert gid == 1001, f"Current GID should be {1001}, got {gid}" + assert gid == 1002, f"Current GID should be {1002}, got {gid}"