disko/tests/negative-size.nix
2023-07-19 19:07:40 +00:00

14 lines
382 B
Nix

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