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 <aszlig@nix.build> Cc: @oxij, @samueldr Issue: #29441
This commit is contained in:
parent
2cf2ea1c03
commit
f51dc2a94b
@ -467,7 +467,7 @@ in {
|
|||||||
enableOCR = true;
|
enableOCR = true;
|
||||||
preBootCommands = ''
|
preBootCommands = ''
|
||||||
$machine->start;
|
$machine->start;
|
||||||
$machine->waitForText(qr/Enter passphrase/);
|
$machine->waitForText(qr/Passphrase for/);
|
||||||
$machine->sendChars("supersecret\n");
|
$machine->sendChars("supersecret\n");
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user