mirror of
https://github.com/nix-community/disko.git
synced 2026-12-05 23:43: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
+7
-2
@@ -4,7 +4,12 @@
|
||||
makeDiskoTest {
|
||||
disko-config = import ../example/luks-lvm.nix;
|
||||
extraTestScript = ''
|
||||
machine.succeed("cryptsetup isLuks /dev/vdb2");
|
||||
machine.succeed("mountpoint /mnt/home");
|
||||
machine.succeed("cryptsetup isLuks /dev/vda2");
|
||||
machine.succeed("mountpoint /home");
|
||||
'';
|
||||
enableOCR = true;
|
||||
bootCommands = ''
|
||||
machine.wait_for_text("Passphrase for")
|
||||
machine.send_chars("secret\n")
|
||||
'';
|
||||
}
|
||||
Reference in new issue
Block a user