disko/tests/negative-size.nix

14 lines
368 B
Nix
Raw Normal View History

2022-11-25 10:38:05 +03:00
# this is a regression test for https://github.com/nix-community/disko/issues/52
{ pkgs ? import <nixpkgs> { }
, diskoLib ? pkgs.callPackage ../lib { }
2022-11-25 10:38:05 +03:00
}:
diskoLib.testLib.makeDiskoTest {
inherit pkgs;
2023-02-21 19:19:39 +03:00
name = "negative-size";
2022-11-25 10:38:05 +03:00
disko-config = ../example/negative-size.nix;
testBoot = false;
extraTestScript = ''
machine.succeed("mountpoint /mnt");
'';
}