summaryrefslogtreecommitdiff
path: root/test/exec-ioschedulingclass-best-effort.service
diff options
context:
space:
mode:
authorRonny Chevalier <chevalier.ronny@gmail.com>2015-10-30 17:46:32 +0100
committerRonny Chevalier <chevalier.ronny@gmail.com>2015-10-31 15:07:19 +0100
commita622675862ca59cae4662bff21a0c795e0108c65 (patch)
treedd078d151cc14d24de35d9bd6af9e57068238b66 /test/exec-ioschedulingclass-best-effort.service
parentc388dfea5a9de5771283fbf0f5ebc5a45c895b79 (diff)
test-execute: add tests for IOSchedulingClass
Diffstat (limited to 'test/exec-ioschedulingclass-best-effort.service')
-rw-r--r--test/exec-ioschedulingclass-best-effort.service7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/exec-ioschedulingclass-best-effort.service b/test/exec-ioschedulingclass-best-effort.service
new file mode 100644
index 0000000000..56e2718505
--- /dev/null
+++ b/test/exec-ioschedulingclass-best-effort.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=Test for IOSchedulingClass=best-effort
+
+[Service]
+ExecStart=/bin/bash -c 'c=$(ionice); echo $c; [[ "$c" == best-effort* ]]'
+Type=oneshot
+IOSchedulingClass=best-effort