disko/tests/negative-size.nix

13 lines
361 B
Nix
Raw Normal View History

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