tests: adjust wait_for_text calls to work for systemd-initrd or old stage-1

This commit is contained in:
Lily Foster committed 2023-02-21 11:33:21 -05:00
1 parent d0d62973a0
commit 00a2e2c438
5 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ makeDiskoTest {
'';
enableOCR = true;
bootCommands = ''
machine.wait_for_text("Passphrase for")
machine.wait_for_text("[Pp]assphrase for")
machine.send_chars("secretsecret\n")
'';
extraConfig = {
+1 -1
View File
@@ -18,7 +18,7 @@ makeDiskoTest {
'';
enableOCR = true;
bootCommands = ''
machine.wait_for_text("Passphrase for")
machine.wait_for_text("[Pp]assphrase for")
machine.send_chars("secretsecret\n")
'';
extraConfig = {
+1 -1
View File
@@ -9,7 +9,7 @@ makeDiskoTest {
'';
enableOCR = true;
bootCommands = ''
machine.wait_for_text("Passphrase for")
machine.wait_for_text("[Pp]assphrase for")
machine.send_chars("secretsecret\n")
'';
}
+1 -1
View File
@@ -19,7 +19,7 @@ makeDiskoTest {
'';
enableOCR = true;
bootCommands = ''
machine.wait_for_text("Passphrase for")
machine.wait_for_text("[Pp]assphrase for")
machine.send_chars("secretsecret\n")
'';
extraConfig = {
+1 -1
View File
@@ -12,7 +12,7 @@ makeDiskoTest {
'';
enableOCR = true;
bootCommands = ''
machine.wait_for_text("passphrase for")
machine.wait_for_text("(?:passphrase|key) for")
machine.send_chars("secretsecret\n")
'';
extraTestScript = ''