nixos/tests/installer: Fix matching LUKS prompt

The LUKS passphrase prompt has changed from "Enter passphrase" to "Enter
LUKS Passphrase" in c69c76ca7e, 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 <aszlig@redmoonstudios.org>
Cc: @abbradar
This commit is contained in:
aszlig 2016-07-16 21:55:46 +02:00
parent 15cd7af522
commit ec072cbc4c
No known key found for this signature in database
GPG Key ID: 1DE8E48E57DB5436

View File

@ -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");
'';
};