test: add tests for merging RestrictNamespaces=

This commit is contained in:
Yu Watanabe
2018-05-05 11:07:37 +09:00
parent aa9d574de9
commit 1dcf96c29f
5 changed files with 32 additions and 0 deletions
+3
View File
@@ -358,6 +358,9 @@ static void test_exec_restrictnamespaces(Manager *m) {
test(m, "exec-restrictnamespaces-yes.service", 1, CLD_EXITED);
test(m, "exec-restrictnamespaces-mnt.service", 0, CLD_EXITED);
test(m, "exec-restrictnamespaces-mnt-blacklist.service", 1, CLD_EXITED);
test(m, "exec-restrictnamespaces-merge-and.service", 0, CLD_EXITED);
test(m, "exec-restrictnamespaces-merge-or.service", 0, CLD_EXITED);
test(m, "exec-restrictnamespaces-merge-all.service", 0, CLD_EXITED);
#endif
}