Skip to content

Commit

Permalink
nixos/unl0kr fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
hustlerone committed Dec 7, 2024
1 parent 7c5f69d commit b4aac8e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions nixos/tests/systemd-initrd-luks-unl0kr.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit b4aac8e

Please sign in to comment.