154: tests: adjust wait_for_text calls to work for systemd-initrd or old stage-1 r=Mic92 a=lilyinstarlight



Co-authored-by: Lily Foster <lily@lily.flowers>
This commit is contained in:
bors[bot] 2023-02-21 19:24:05 +00:00 committed by GitHub
commit 07f9727ce6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View file

@ -20,7 +20,7 @@ makeDiskoTest {
'';
enableOCR = true;
bootCommands = ''
machine.wait_for_text("Passphrase for")
machine.wait_for_text("[Pp]assphrase for")
machine.send_chars("secretsecret\n")
'';
extraConfig = {

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 = {

View file

@ -10,7 +10,7 @@ makeDiskoTest {
'';
enableOCR = true;
bootCommands = ''
machine.wait_for_text("Passphrase for")
machine.wait_for_text("[Pp]assphrase for")
machine.send_chars("secretsecret\n")
'';
}

View file

@ -20,7 +20,7 @@ makeDiskoTest {
'';
enableOCR = true;
bootCommands = ''
machine.wait_for_text("Passphrase for")
machine.wait_for_text("[Pp]assphrase for")
machine.send_chars("secretsecret\n")
'';
extraConfig = {

View file

@ -13,7 +13,7 @@ makeDiskoTest {
'';
enableOCR = true;
bootCommands = ''
machine.wait_for_text("passphrase for")
machine.wait_for_text("(?:passphrase|key) for")
machine.send_chars("secretsecret\n")
'';
extraTestScript = ''