diff options
author | Ronny Chevalier <chevalier.ronny@gmail.com> | 2015-10-30 17:46:32 +0100 |
---|---|---|
committer | Ronny Chevalier <chevalier.ronny@gmail.com> | 2015-10-31 15:07:19 +0100 |
commit | a622675862ca59cae4662bff21a0c795e0108c65 (patch) | |
tree | dd078d151cc14d24de35d9bd6af9e57068238b66 /test | |
parent | c388dfea5a9de5771283fbf0f5ebc5a45c895b79 (diff) |
test-execute: add tests for IOSchedulingClass
Diffstat (limited to 'test')
-rw-r--r-- | test/exec-ioschedulingclass-best-effort.service | 7 | ||||
-rw-r--r-- | test/exec-ioschedulingclass-idle.service | 7 | ||||
-rw-r--r-- | test/exec-ioschedulingclass-none.service | 7 | ||||
-rw-r--r-- | test/exec-ioschedulingclass-realtime.service | 7 |
4 files changed, 28 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 diff --git a/test/exec-ioschedulingclass-idle.service b/test/exec-ioschedulingclass-idle.service new file mode 100644 index 0000000000..b45795cab7 --- /dev/null +++ b/test/exec-ioschedulingclass-idle.service @@ -0,0 +1,7 @@ +[Unit] +Description=Test for IOSchedulingClass=idle + +[Service] +ExecStart=/bin/bash -c 'c=$(ionice); echo $c; [[ "$c" == idle* ]]' +Type=oneshot +IOSchedulingClass=idle 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 diff --git a/test/exec-ioschedulingclass-realtime.service b/test/exec-ioschedulingclass-realtime.service new file mode 100644 index 0000000000..74936d8079 --- /dev/null +++ b/test/exec-ioschedulingclass-realtime.service @@ -0,0 +1,7 @@ +[Unit] +Description=Test for IOSchedulingClass=realtime + +[Service] +ExecStart=/bin/bash -c 'c=$(ionice); echo $c; [[ "$c" == realtime* ]]' +Type=oneshot +IOSchedulingClass=realtime |