mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 21:13:28 +01:00
tests cli: use direct mode
This commit is contained in:
1 parent
2b728ffe02
commit
2800cf502a
2 files changed
+11
-21
No files matched your search
+9
-1
@@ -8,7 +8,7 @@ makeDiskoTest {
|
||||
extraSystemConfig = {
|
||||
fileSystems."/zfs_legacy_fs".options = [ "nofail" ]; # TODO find out why we need this!
|
||||
};
|
||||
testMode = "cli";
|
||||
testMode = "direct";
|
||||
extraTestScript = ''
|
||||
machine.succeed("test -b /dev/zroot/zfs_testvolume");
|
||||
machine.succeed("test -b /dev/md/raid1p1");
|
||||
@@ -19,7 +19,15 @@ makeDiskoTest {
|
||||
machine.succeed("mountpoint /ext4onzfs");
|
||||
machine.succeed("mountpoint /ext4_on_lvm");
|
||||
'';
|
||||
extraSystemConfig = {
|
||||
imports = [
|
||||
../module.nix
|
||||
];
|
||||
};
|
||||
extraInstallerConfig = {
|
||||
boot.kernelModules = [ "dm-raid" "dm-mirror" ];
|
||||
imports = [
|
||||
../module.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user