disko/tests/negative-size.nix

13 lines
361 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> { })
, makeDiskoTest ? (pkgs.callPackage ./lib.nix { }).makeDiskoTest
}:
makeDiskoTest {
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");
'';
}