]> git.ipfire.org Git - thirdparty/systemd.git/commit
test-execute: use the "nogroup" group if it exists for testing
authorLennart Poettering <lennart@poettering.net>
Tue, 5 Dec 2017 09:59:44 +0000 (10:59 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 6 Dec 2017 12:40:50 +0000 (13:40 +0100)
commit66d73cc7284b7a9b2c54d2cc1977d0c28237a20c
treeb98ad30b30d1d91e39097af7bf7bfb63da875040
parent05fd2156b7bdb31eec1731b289e80dca56acd13c
test-execute: use the "nogroup" group if it exists for testing

We currently look for "nobody" and "nfsnobody" when testing groups, both
of which do not exist on Ubuntu, our main testing environment. Let's
extend the tests slightly to also use "nogroup" if it exists.
src/test/test-execute.c
test/meson.build
test/test-execute/exec-group-nogroup.service [new file with mode: 0644]