diff --git a/tests/cli.nix b/tests/cli.nix index e30547a..c510a94 100644 --- a/tests/cli.nix +++ b/tests/cli.nix @@ -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 = { diff --git a/tests/complex.nix b/tests/complex.nix index 6ed6e12..b08128b 100644 --- a/tests/complex.nix +++ b/tests/complex.nix @@ -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 = { diff --git a/tests/luks-lvm.nix b/tests/luks-lvm.nix index 5f4aa39..6833ffd 100644 --- a/tests/luks-lvm.nix +++ b/tests/luks-lvm.nix @@ -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") ''; } diff --git a/tests/module.nix b/tests/module.nix index 9b142c7..ee40fb1 100644 --- a/tests/module.nix +++ b/tests/module.nix @@ -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 = { diff --git a/tests/zfs.nix b/tests/zfs.nix index 75268ef..2bdb723 100644 --- a/tests/zfs.nix +++ b/tests/zfs.nix @@ -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 = ''