summaryrefslogtreecommitdiffstats
path: root/tests/negative-size.nix
blob: 224b00cd913cf1b69178ef08c76693e609f84170 (plain)
1
2
3
4
5
6
7
8
9
10
11
# this is a regression test for https://github.com/nix-community/disko/issues/52
{ pkgs ? (import <nixpkgs> { })
, makeDiskoTest ? (pkgs.callPackage ./lib.nix { }).makeDiskoTest
}:
makeDiskoTest {
  disko-config = ../example/negative-size.nix;
  testBoot = false;
  extraTestScript = ''
    machine.succeed("mountpoint /mnt");
  '';
}