summary refs log tree commit diff
path: root/nixos/tests/installer.nix
diff options
context:
space:
mode:
authorRyan Lahfa <masterancpp@gmail.com>2023-10-29 22:24:38 +0100
committerGitHub <noreply@github.com>2023-10-29 22:24:38 +0100
commita905c3a544a422b92db99758489e20d84ed755cb (patch)
tree3d5474085b0245208e1ee776d82a4364e2edca14 /nixos/tests/installer.nix
parent707696ccd6a493c062dd14b60cea1d1ab208fac0 (diff)
parent0425c4de6d1ebade3c082698a9d47b2f1b0080db (diff)
downloadnixpkgs-a905c3a544a422b92db99758489e20d84ed755cb.tar
nixpkgs-a905c3a544a422b92db99758489e20d84ed755cb.tar.gz
nixpkgs-a905c3a544a422b92db99758489e20d84ed755cb.tar.bz2
nixpkgs-a905c3a544a422b92db99758489e20d84ed755cb.tar.lz
nixpkgs-a905c3a544a422b92db99758489e20d84ed755cb.tar.xz
nixpkgs-a905c3a544a422b92db99758489e20d84ed755cb.tar.zst
nixpkgs-a905c3a544a422b92db99758489e20d84ed755cb.zip
Merge pull request #262854 from ElvishJerricco/systemd-stage-1-bcachefs-decryption
systemd-stage-1: bcachefs decryption
Diffstat (limited to 'nixos/tests/installer.nix')
-rw-r--r--nixos/tests/installer.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix
index 15ece034898..1baa4396424 100644
--- a/nixos/tests/installer.nix
+++ b/nixos/tests/installer.nix
@@ -937,6 +937,10 @@ in {
     enableOCR = true;
     preBootCommands = ''
       machine.start()
+      # Enter it wrong once
+      machine.wait_for_text("enter passphrase for ")
+      machine.send_chars("wrong\n")
+      # Then enter it right.
       machine.wait_for_text("enter passphrase for ")
       machine.send_chars("password\n")
     '';