diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-08-23 06:45:33 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-08-26 02:54:37 +0900 |
commit | 42867dfeef68233b08f3eb3b90f8fa0500a6451a (patch) | |
tree | 6498998eb7c325d68c163b1f81384877b139fb0a /test | |
parent | aa2727517e03d21a2784fe79d9707118892f39f2 (diff) | |
download | systemd-42867dfeef68233b08f3eb3b90f8fa0500a6451a.tar.gz |
test-execute: add a testcase for MountAPIVFS=no
Diffstat (limited to 'test')
-rw-r--r-- | test/test-execute/exec-mount-apivfs-no.service | 15 | ||||
-rw-r--r-- | test/test-functions | 1 |
2 files changed, 16 insertions, 0 deletions
diff --git a/test/test-execute/exec-mount-apivfs-no.service b/test/test-execute/exec-mount-apivfs-no.service new file mode 100644 index 0000000000..0cf1f332e6 --- /dev/null +++ b/test/test-execute/exec-mount-apivfs-no.service @@ -0,0 +1,15 @@ +[Unit] +Description=Test for find_executable() with MountAPIVFS=no + +[Service] +Type=oneshot + +MountAPIVFS=false +PrivateDevices=false +PrivateMounts=true +PrivateTmp=false +PrivateUsers=false +ProtectControlGroups=false +ProtectKernelModules=false +ProtectKernelTunables=false +RootDirectory=/tmp/test-exec-mount-apivfs-no/root diff --git a/test/test-functions b/test/test-functions index 436d9e0ef3..a2b92aeba8 100644 --- a/test/test-functions +++ b/test/test-functions @@ -148,6 +148,7 @@ BASICTOOLS=( head ionice ip + ldd ln loadkeys login |