summaryrefslogtreecommitdiff
path: root/test/test-execute
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-08-23 06:45:33 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-08-26 02:54:37 +0900
commit42867dfeef68233b08f3eb3b90f8fa0500a6451a (patch)
tree6498998eb7c325d68c163b1f81384877b139fb0a /test/test-execute
parentaa2727517e03d21a2784fe79d9707118892f39f2 (diff)
downloadsystemd-42867dfeef68233b08f3eb3b90f8fa0500a6451a.tar.gz
test-execute: add a testcase for MountAPIVFS=no
Diffstat (limited to 'test/test-execute')
-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