disko/tests/example/negative-size.nix
2024-10-31 17:03:52 +01:00

13 lines
381 B
Nix

# this is a regression test for https://github.com/nix-community/disko/issues/52
{ pkgs ? import <nixpkgs> { }
, diskoLib ? pkgs.callPackage ../src/disko_lib { }
}:
diskoLib.testLib.makeDiskoTest {
inherit pkgs;
name = "negative-size";
disko-config = ../../example/negative-size.nix;
testBoot = false;
extraTestScript = ''
machine.succeed("mountpoint /mnt");
'';
}