diff --git a/tests/cli.nix b/tests/cli.nix index 0c2bf29..31905bf 100644 --- a/tests/cli.nix +++ b/tests/cli.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/complex.nix b/tests/complex.nix index 6209338..5c8cd0c 100644 --- a/tests/complex.nix +++ b/tests/complex.nix @@ -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 = { diff --git a/tests/luks-lvm.nix b/tests/luks-lvm.nix index 4f35e5d..473e15c 100644 --- a/tests/luks-lvm.nix +++ b/tests/luks-lvm.nix @@ -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") ''; } diff --git a/tests/module.nix b/tests/module.nix index 2a6342f..b8f8a36 100644 --- a/tests/module.nix +++ b/tests/module.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/zfs.nix b/tests/zfs.nix index ce60789..b827090 100644 --- a/tests/zfs.nix +++ b/tests/zfs.nix @@ -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 = ''