From ec072cbc4c87edd4ece210121dba83abeff0a018 Mon Sep 17 00:00:00 2001 From: aszlig Date: Sat, 16 Jul 2016 21:55:46 +0200 Subject: nixos/tests/installer: Fix matching LUKS prompt The LUKS passphrase prompt has changed from "Enter passphrase" to "Enter LUKS Passphrase" in c69c76ca7efecba24aba555c2a03f933997d1fd5, so the OCR detection of the test fails indefinitely. Unfortunately, this doesn't fix the test because we have a real problem here: Enter LUKS Passphrase: killall: cryptsetup: no process killed Enter LUKS Passphrase: Signed-off-by: aszlig Cc: @abbradar --- nixos/tests/installer.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/tests/installer.nix') diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix index 4a30cc18b021..95fd4d5f2c2d 100644 --- a/nixos/tests/installer.nix +++ b/nixos/tests/installer.nix @@ -365,7 +365,7 @@ in { enableOCR = true; preBootCommands = '' $machine->start; - $machine->waitForText(qr/Enter passphrase/); + $machine->waitForText(qr/Enter LUKS Passphrase/i); $machine->sendChars("supersecret\n"); ''; }; -- cgit 1.4.1