diff --git a/tests/misc.nix b/tests/misc.nix index d52741cab818..41bd2a8686db 100644 --- a/tests/misc.nix +++ b/tests/misc.nix @@ -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)\" ]") + }; ''; }