diff options
Diffstat (limited to 'test/test-execute/exec-ioschedulingclass-best-effort.service')
-rw-r--r-- | test/test-execute/exec-ioschedulingclass-best-effort.service | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-execute/exec-ioschedulingclass-best-effort.service b/test/test-execute/exec-ioschedulingclass-best-effort.service index 56e2718505..29bb8510b4 100644 --- a/test/test-execute/exec-ioschedulingclass-best-effort.service +++ b/test/test-execute/exec-ioschedulingclass-best-effort.service @@ -2,6 +2,6 @@ Description=Test for IOSchedulingClass=best-effort [Service] -ExecStart=/bin/bash -c 'c=$(ionice); echo $c; [[ "$c" == best-effort* ]]' +ExecStart=/bin/sh -x -c 'c=$$(LC_ALL=C ionice); test "$${c%%:*}" = "best-effort"' Type=oneshot IOSchedulingClass=best-effort |