summaryrefslogtreecommitdiff
path: root/test/exec-ioschedulingclass-none.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-none.service
parentc388dfea5a9de5771283fbf0f5ebc5a45c895b79 (diff)
test-execute: add tests for IOSchedulingClass
Diffstat (limited to 'test/exec-ioschedulingclass-none.service')
-rw-r--r--test/exec-ioschedulingclass-none.service7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/exec-ioschedulingclass-none.service b/test/exec-ioschedulingclass-none.service
new file mode 100644
index 0000000000..36b546ca01
--- /dev/null
+++ b/test/exec-ioschedulingclass-none.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=Test for IOSchedulingClass=none
+
+[Service]
+ExecStart=/bin/bash -c 'c=$(ionice); echo $c; [[ "$c" == none* ]]'
+Type=oneshot
+IOSchedulingClass=none