test: add tests for PrivateDevices= with '+' prefix

This commit is contained in:
Yu Watanabe
2018-05-01 13:44:24 +09:00
parent b5a33299b0
commit cfa24ca0e6
3 changed files with 10 additions and 0 deletions
+1
View File
@@ -231,6 +231,7 @@ static void test_exec_privatedevices(Manager *m) {
test(m, "exec-privatedevices-yes.service", 0, CLD_EXITED);
test(m, "exec-privatedevices-no.service", 0, CLD_EXITED);
test(m, "exec-privatedevices-disabled-by-prefix.service", 0, CLD_EXITED);
/* We use capsh to test if the capabilities are
* properly set, so be sure that it exists */