tests: read serial instead of OCR for crypto tests

This commit is contained in:
lassulus committed 2023-04-06 08:56:55 +02:00
1 parent 1ea3846dfc
commit 7207e54351
6 files changed
+10 -14

No files matched your search

+2 -3
View File
@@ -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")
'';
}