mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2026-02-02 09:25:08 +01:00
tests: read serial instead of OCR for crypto tests
This commit is contained in:
parent
1ea3846dfc
commit
7207e54351
6 changed files with 10 additions and 14 deletions
|
|
@ -8,9 +8,8 @@ makeDiskoTest {
|
|||
machine.succeed("cryptsetup isLuks /dev/vda2");
|
||||
machine.succeed("mountpoint /home");
|
||||
'';
|
||||
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")
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue