Skip to content

Commit

Permalink
nixos/tests/luksroot: Fix OCR of passphrase prompt
Browse files Browse the repository at this point in the history
Since a9d69a7, 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 <aszlig@nix.build>
Cc: @oxij, @samueldr
Issue: #29441
  • Loading branch information
aszlig committed Aug 10, 2018
1 parent 2cf2ea1 commit f51dc2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/tests/installer.nix
Expand Up @@ -467,7 +467,7 @@ in {
enableOCR = true;
preBootCommands = ''
$machine->start;
$machine->waitForText(qr/Enter passphrase/);
$machine->waitForText(qr/Passphrase for/);
$machine->sendChars("supersecret\n");
'';
};
Expand Down

0 comments on commit f51dc2a

Please sign in to comment.