Regression test for blkio functionality

This commit is contained in:
Eelco Dolstra 2013-09-17 16:16:59 +02:00
parent 9f94a6ffaa
commit 58e40f84e1

View File

@ -42,6 +42,11 @@
subtest "poweroff_cmd", sub {
$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)\" ]")
};
'';
}