summary refs log tree commit diff
path: root/nixos/tests/installer.nix
diff options
context:
space:
mode:
authorWill Fancher <elvishjerricco@gmail.com>2023-10-21 11:56:47 -0400
committerWill Fancher <elvishjerricco@gmail.com>2023-10-22 20:07:55 -0400
commit0425c4de6d1ebade3c082698a9d47b2f1b0080db (patch)
tree8bba42fac5190005dc6bf8462d01f53396c115c1 /nixos/tests/installer.nix
parent7c9cc5a6e5d38010801741ac830a3f8fd667a7a0 (diff)
downloadnixpkgs-0425c4de6d1ebade3c082698a9d47b2f1b0080db.tar
nixpkgs-0425c4de6d1ebade3c082698a9d47b2f1b0080db.tar.gz
nixpkgs-0425c4de6d1ebade3c082698a9d47b2f1b0080db.tar.bz2
nixpkgs-0425c4de6d1ebade3c082698a9d47b2f1b0080db.tar.lz
nixpkgs-0425c4de6d1ebade3c082698a9d47b2f1b0080db.tar.xz
nixpkgs-0425c4de6d1ebade3c082698a9d47b2f1b0080db.tar.zst
nixpkgs-0425c4de6d1ebade3c082698a9d47b2f1b0080db.zip
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 3268a16967d..c21f5608940 100644
--- a/nixos/tests/installer.nix
+++ b/nixos/tests/installer.nix
@@ -918,6 +918,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")
     '';