mirror of
https://github.com/nix-community/disko.git
synced 2026-12-03 06:23:28 +01:00
types: fix negative relative disk size
This commit is contained in:
1 parent
1668efc14a
commit
417ad31ca5
3 files changed
+43
-5
No files matched your search
@@ -0,0 +1,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");
|
||||
'';
|
||||
}
|
||||
Reference in new issue
Block a user