about summary refs log tree commit diff
path: root/nixos/tests/bcachefs.nix
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2023-06-15 19:25:37 +0200
committerJörg Thalheim <joerg@thalheim.io>2023-07-01 17:10:11 +0200
commitaf57956199bc26612c6d443c101374f7ed5c1ee9 (patch)
treef01dc72e533834501a688590032e200e2e0fcbba /nixos/tests/bcachefs.nix
parent4d719f101c28bede334298c026a7fcb3e19553a5 (diff)
nixos/test/bcachefs: fix password input
Diffstat (limited to 'nixos/tests/bcachefs.nix')
-rw-r--r--nixos/tests/bcachefs.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/bcachefs.nix b/nixos/tests/bcachefs.nix
index 68ac49d0a6a6a..0385e098997f4 100644
--- a/nixos/tests/bcachefs.nix
+++ b/nixos/tests/bcachefs.nix
@@ -23,7 +23,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
         "keyctl link @u @s",
         "echo password | bcachefs format --encrypted --metadata_replicas 2 --label vtest /dev/vdb1 /dev/vdb2",
         "echo password | bcachefs unlock /dev/vdb1",
-        "mount -t bcachefs /dev/vdb1:/dev/vdb2 /tmp/mnt",
+        "echo password | mount -t bcachefs /dev/vdb1:/dev/vdb2 /tmp/mnt",
         "udevadm settle",
         "bcachefs fs usage /tmp/mnt",
         "umount /tmp/mnt",