Skip to content

Commit

Permalink
Merge #154
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
bors[bot] and lilyinstarlight authored Feb 21, 2023
2 parents 1cfb46e + 00a2e2c commit 07f9727
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/cli.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion tests/complex.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion tests/luks-lvm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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")
'';
}
2 changes: 1 addition & 1 deletion tests/module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion tests/zfs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
Expand Down

0 comments on commit 07f9727

Please sign in to comment.