mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
Regression test for blkio functionality
This commit is contained in:
parent
9f94a6ffaa
commit
58e40f84e1
@ -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)\" ]")
|
||||
};
|
||||
'';
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user