From f51dc2a94be84b17fefb97884c14f3bdaafe6031 Mon Sep 17 00:00:00 2001 From: aszlig Date: Sat, 11 Aug 2018 00:07:10 +0200 Subject: [PATCH] nixos/tests/luksroot: Fix OCR of passphrase prompt Since a9d69a74d6edb6bcca29b1189d4bc3b203ecaf25, the passphrase prompt now no longer starts with "Enter passphrase for" but now it's just "Passphrase for", which causes the luksroot installer test to fail. I've tested this on a x86_64-linux machine and the test now succeeds. Signed-off-by: aszlig Cc: @oxij, @samueldr Issue: #29441 --- nixos/tests/installer.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix index 2455b9152bd..507665190a2 100644 --- a/nixos/tests/installer.nix +++ b/nixos/tests/installer.nix @@ -467,7 +467,7 @@ in { enableOCR = true; preBootCommands = '' $machine->start; - $machine->waitForText(qr/Enter passphrase/); + $machine->waitForText(qr/Passphrase for/); $machine->sendChars("supersecret\n"); ''; };