mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-11 23:50:05 +01:00
add tests for module and cli
This commit is contained in:
parent
f1531fb4f3
commit
fec0b14fb5
14 changed files with 115 additions and 19 deletions
|
|
@ -2,7 +2,7 @@
|
|||
, makeDiskoTest ? (pkgs.callPackage ./lib.nix { }).makeDiskoTest
|
||||
}:
|
||||
makeDiskoTest {
|
||||
disko-config = import ../example/btrfs-subvolumes.nix;
|
||||
disko-config = ../example/btrfs-subvolumes.nix;
|
||||
extraTestScript = ''
|
||||
machine.succeed("test -e /test");
|
||||
machine.succeed("btrfs subvolume list / | grep -qs 'path test$'");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue