We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0689d46 commit 1ea27bdCopy full SHA for 1ea27bd
test/units/testsuite-07.exec-context.sh
@@ -119,8 +119,9 @@ if ! systemd-detect-virt -cq; then
119
-p IODeviceWeight="/foo/bar 999"
120
)
121
122
+ systemctl set-property system.slice IOAccounting=yes
123
# io.latency not available by default on Debian stable
- if [ -e /sys/fs/cgroup/system.slice/io.latency ]; then
124
+ if [[ -e /sys/fs/cgroup/system.slice/io.latency ]]; then
125
systemd-run --wait --pipe --unit "$SERVICE_NAME" "${ARGUMENTS[@]}" \
126
bash -xec "diff <(echo $EXPECTED_IO_MAX) $CGROUP_PATH/io.max; diff <(echo $EXPECTED_IO_LATENCY) $CGROUP_PATH/io.latency"
127
fi
0 commit comments