Regression test for blkio functionality
This commit is contained in:
parent
9f94a6ffaa
commit
58e40f84e1
|
@ -42,6 +42,11 @@
|
||||||
subtest "poweroff_cmd", sub {
|
subtest "poweroff_cmd", sub {
|
||||||
$machine->succeed("[ -x \"\$(cat /proc/sys/kernel/poweroff_cmd)\" ]")
|
$machine->succeed("[ -x \"\$(cat /proc/sys/kernel/poweroff_cmd)\" ]")
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Test whether the blkio controller is properly enabled.
|
||||||
|
subtest "blkio-cgroup", sub {
|
||||||
|
$machine->succeed("[ -n \"\$(cat /sys/fs/cgroup/blkio/blkio.sectors)\" ]")
|
||||||
|
};
|
||||||
'';
|
'';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue