tests: add CI user creation to simulate cloud VM environments

Create a 'ci' user to match upstream behaviour. This simulates cloud VM
environments where ID 1000 is already taken. This ensures that test
users start the ID assignment at 1001, making container tests consistent
with cloud CI environments.

Link: <https://github.com/shadow-maint/shadow/pull/1615>
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
This commit is contained in:
Iker Pedrosa 2026-05-15 10:29:35 +02:00
parent 895c2a92c0
commit 7e58402a2a

View File

@ -41,6 +41,11 @@
- podman exec builder dnf update -y
- podman exec builder dnf install -y util-linux expect
- name: Create CI user to simulate cloud VM environment
how: shell
script:
- podman exec builder useradd ci
discover:
how: fmf