mirror of
https://github.com/nix-community/disko.git
synced 2026-12-01 21:43:29 +01:00
tests: read serial instead of OCR for crypto tests
This commit is contained in:
1 parent
1ea3846dfc
commit
7207e54351
6 files changed
+10
-14
No files matched your search
+2
-3
@@ -17,10 +17,9 @@ makeDiskoTest {
|
||||
machine.succeed("mountpoint /ext4onzfs");
|
||||
machine.succeed("mountpoint /ext4_on_lvm");
|
||||
'';
|
||||
enableOCR = true;
|
||||
bootCommands = ''
|
||||
machine.wait_for_text("[Pp]assphrase for")
|
||||
machine.send_chars("secretsecret\n")
|
||||
machine.wait_for_console_text("vda")
|
||||
machine.send_console("secretsecret\n")
|
||||
'';
|
||||
extraConfig = {
|
||||
boot.kernelModules = [ "dm-raid" "dm-mirror" ];
|
||||
|
||||
Reference in new issue
Block a user