summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Strauss <david@davidstrauss.net>2013-11-11 10:03:31 +0100
committerDavid Strauss <david@davidstrauss.net>2013-11-22 02:22:47 +0100
commit6414b7c981378a6eef480f6806d7cbfc98ca22a1 (patch)
tree52e636340ce65e8e5d69ad7e8dd8b4f2ec310e72 /test
parentbus: deal with duplicate values from enumerators (diff)
downloadsystemd-6414b7c981378a6eef480f6806d7cbfc98ca22a1.tar.xz
systemd-6414b7c981378a6eef480f6806d7cbfc98ca22a1.zip
cgroups: Cache controller masks and optimize queues.
Diffstat (limited to 'test')
-rw-r--r--test/daughter.service7
-rw-r--r--test/parent.slice5
-rw-r--r--test/son.service8
3 files changed, 20 insertions, 0 deletions
diff --git a/test/daughter.service b/test/daughter.service
new file mode 100644
index 0000000000..aebedca348
--- /dev/null
+++ b/test/daughter.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=Daughter Service
+
+[Service]
+Slice=parent.slice
+Type=oneshot
+ExecStart=/bin/true
diff --git a/test/parent.slice b/test/parent.slice
new file mode 100644
index 0000000000..0222f8eb47
--- /dev/null
+++ b/test/parent.slice
@@ -0,0 +1,5 @@
+[Unit]
+Description=Parent Slice
+
+[Slice]
+BlockIOWeight=200
diff --git a/test/son.service b/test/son.service
new file mode 100644
index 0000000000..50bb96a941
--- /dev/null
+++ b/test/son.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=Son Service
+
+[Service]
+Slice=parent.slice
+Type=oneshot
+ExecStart=/bin/true
+CPUShares=100