]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: add test case for PrivateUsers=true in user manager
authorFilipe Brandenburger <filbranden@gmail.com>
Wed, 13 Nov 2019 18:32:24 +0000 (10:32 -0800)
committerAnita Zhang <the.anitazha@gmail.com>
Wed, 18 Dec 2019 19:09:30 +0000 (11:09 -0800)
commita49ad4c482b8336f62f53da1a574e5b57e803271
treec406f94dd6871b679291daebdb105364bcc7ac88
parent5749f855a76bedba942768b82cfc15a440b8e064
core: add test case for PrivateUsers=true in user manager

The test exercises that PrivateTmp=yes and ProtectHome={read-only,tmpfs}
directives work as expected when PrivateUsers=yes in a user manager.

Some code is also added to test-functions to help set up test cases that
exercise the user manager.
test/TEST-43-PRIVATEUSER-UNPRIV/Makefile [new file with mode: 0644]
test/TEST-43-PRIVATEUSER-UNPRIV/test.sh [new file with mode: 0755]
test/TEST-43-PRIVATEUSER-UNPRIV/testsuite.sh [new file with mode: 0755]
test/test-functions