From b4aac8ebeb480ed6a08c74aee2e2bd697838b92a Mon Sep 17 00:00:00 2001 From: hustlerone Date: Sat, 7 Dec 2024 21:04:18 +0100 Subject: [PATCH] nixos/unl0kr fix test --- nixos/tests/systemd-initrd-luks-unl0kr.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/nixos/tests/systemd-initrd-luks-unl0kr.nix b/nixos/tests/systemd-initrd-luks-unl0kr.nix index 83b52646d112d..c8cd17581009e 100644 --- a/nixos/tests/systemd-initrd-luks-unl0kr.nix +++ b/nixos/tests/systemd-initrd-luks-unl0kr.nix @@ -21,8 +21,7 @@ in { boot.loader.systemd-boot.enable = true; boot.initrd.availableKernelModules = [ - "evdev" # for entering pw - "bochs" + "bochs" # debugging ]; environment.systemPackages = with pkgs; [ cryptsetup ]; @@ -60,9 +59,9 @@ in { machine.succeed("sync") machine.crash() - # Boot and decrypt the disk + # Boot and decrypt the disk. This part of the test is quite slow machine.start() - machine.wait_for_text("Password required for booting") + machine.wait_for_text("password") # We only care about this word machine.screenshot("prompt") machine.send_chars("${passphrase}") machine.screenshot("pw")