mirror of
https://github.com/nix-community/disko.git
synced 2026-12-06 07:53:28 +01:00
add nixos tests for disko.config, extend/fix existing tests
This commit is contained in:
1 parent
a215a19759
commit
9f7f23abdb
22 files changed
+448
-110
No files matched your search
@@ -4,8 +4,8 @@
|
||||
makeDiskoTest {
|
||||
disko-config = import ../example/btrfs-subvolumes.nix;
|
||||
extraTestScript = ''
|
||||
machine.succeed("test -e /mnt/test");
|
||||
machine.succeed("btrfs subvolume list /mnt | grep -qs 'path test$'");
|
||||
machine.succeed("test -e /test");
|
||||
machine.succeed("btrfs subvolume list / | grep -qs 'path test$'");
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user