1 import ./make-test-python.nix {
4 nodes.machine = { lib, ... }: {
5 virtualisation.emptyDiskImages = [ 1 ];
7 virtualisation.fileSystems = {
17 machine.wait_for_unit("default.target")
19 with subtest("root fs is fsckd"):
20 machine.succeed("journalctl -b | grep 'fsck.ext4.*/dev/vda'")
22 with subtest("mnt fs is fsckd"):
23 machine.succeed("journalctl -b | grep 'fsck.*/dev/vdb.*clean'")
25 "grep 'Requires=systemd-fsck@dev-vdb.service' /run/systemd/generator/mnt.mount"
28 "grep 'After=systemd-fsck@dev-vdb.service' /run/systemd/generator/mnt.mount"