disko/tests/multi-device-no-deps.nix

13 lines
386 B
Nix
Raw Normal View History

2022-11-10 11:46:55 +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 {
disko-config = ../example/multi-device-no-deps.nix;
testBoot = false;
extraTestScript = ''
machine.succeed("mountpoint /mnt/a");
machine.succeed("mountpoint /mnt/b");
'';
}