summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-mount-apivfs-no.service
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-08-22 23:45:33 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-08-25 19:54:37 +0200
commit42867dfeef68233b08f3eb3b90f8fa0500a6451a (patch)
tree6498998eb7c325d68c163b1f81384877b139fb0a /test/test-execute/exec-mount-apivfs-no.service
parenttest-execute: logs can_share flag (diff)
downloadsystemd-42867dfeef68233b08f3eb3b90f8fa0500a6451a.tar.xz
systemd-42867dfeef68233b08f3eb3b90f8fa0500a6451a.zip
test-execute: add a testcase for MountAPIVFS=no
Diffstat (limited to 'test/test-execute/exec-mount-apivfs-no.service')
-rw-r--r--test/test-execute/exec-mount-apivfs-no.service15
1 files changed, 15 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