From 213bc3017ac3dff0cbf9e7bfec538bd1db12e620 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Tue, 24 Feb 2026 07:45:34 -0600 Subject: feat: add ZFS encrypted volume tests (single disk + mirror) Add automated tests for ZFS native encryption, matching existing Btrfs LUKS test coverage. ZFS encrypted boot requires two passphrase entries (ZFSBootMenu + mkinitcpio zfs hook), both sent via QEMU monitor sendkey with timed delays since ZFSBootMenu renders to VGA, not serial. --- scripts/test-configs/zfs-encrypt.conf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 scripts/test-configs/zfs-encrypt.conf (limited to 'scripts/test-configs/zfs-encrypt.conf') diff --git a/scripts/test-configs/zfs-encrypt.conf b/scripts/test-configs/zfs-encrypt.conf new file mode 100644 index 0000000..0bc3237 --- /dev/null +++ b/scripts/test-configs/zfs-encrypt.conf @@ -0,0 +1,16 @@ +# Test config: ZFS single disk with native encryption + +# Enable testing mode for automated ZFS passphrase handling +TESTING=yes + +HOSTNAME=test-zfs-encrypt +TIMEZONE=UTC +LOCALE=en_US.UTF-8 +KEYMAP=us + +DISKS=/dev/vda + +ZFS_PASSPHRASE=testpass +ROOT_PASSWORD=testpass + +ENABLE_SSH=yes -- cgit v1.2.3