mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-11 23:50:05 +01:00
add regression test for #52
This commit is contained in:
parent
c5973aed4e
commit
d61fd1522b
2 changed files with 62 additions and 0 deletions
12
tests/multi-device-no-deps.nix
Normal file
12
tests/multi-device-no-deps.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# 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/multi-device-no-deps.nix;
|
||||
testBoot = false;
|
||||
extraTestScript = ''
|
||||
machine.succeed("mountpoint /mnt/a");
|
||||
machine.succeed("mountpoint /mnt/b");
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue