summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/grandchild.service7
-rw-r--r--test/parent-deep.slice5
2 files changed, 12 insertions, 0 deletions
diff --git a/test/grandchild.service b/test/grandchild.service
new file mode 100644
index 0000000000..ab641300e4
--- /dev/null
+++ b/test/grandchild.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=Grandchild Service
+
+[Service]
+Slice=parent-deep.slice
+Type=oneshot
+ExecStart=/bin/true
diff --git a/test/parent-deep.slice b/test/parent-deep.slice
new file mode 100644
index 0000000000..79b302f38d
--- /dev/null
+++ b/test/parent-deep.slice
@@ -0,0 +1,5 @@
+[Unit]
+Description=Deeper Parent Slice
+
+[Slice]
+MemoryLimit=3G