Files
disko/tests/xfs.nix
2025-02-15 10:08:56 +00:00

15 lines
327 B
Nix

{
pkgs ? import <nixpkgs> { },
diskoLib ? pkgs.callPackage ../lib { },
}:
diskoLib.testLib.makeDiskoTest {
inherit pkgs;
name = "xfs";
disko-config = ../example/xfs-with-quota.nix;
extraTestScript = ''
machine.succeed("mountpoint /");
machine.succeed("xfs_quota -c 'print' / | grep -q '(pquota)'")
'';
}