aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-01-25 07:36:24 -0600
committerCraig Jennings <c@cjennings.net>2026-01-25 07:36:24 -0600
commit06b9cbefbf519da2da13b82e23050d7ada31f3f6 (patch)
tree6b110f139cb2b27b66adbff5983048efb7d72af0 /scripts
parent1c68007534c25e2438f8d6ebaae8b3eff46fe5f3 (diff)
downloadarchangel-06b9cbefbf519da2da13b82e23050d7ada31f3f6.tar.gz
archangel-06b9cbefbf519da2da13b82e23050d7ada31f3f6.zip
Add LUKS testing infrastructure and documentation
- Add setup_luks_testing_keyfile() for automated LUKS testing - Modify configure_crypttab() and configure_luks_initramfs() for keyfile support - Fix configure_btrfs_initramfs() to preserve encrypt hook when LUKS enabled - Add TESTING=yes to LUKS test configs - Create docs/TESTING-STRATEGY.org documenting testing approach LUKS automated reboot testing remains a work-in-progress due to complexity of sending passphrase to initramfs encrypt hook. Non-LUKS tests all pass: btrfs-single, btrfs-mirror, btrfs-stripe.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/test-configs/btrfs-luks.conf3
-rw-r--r--scripts/test-configs/btrfs-mirror-luks.conf3
2 files changed, 6 insertions, 0 deletions
diff --git a/scripts/test-configs/btrfs-luks.conf b/scripts/test-configs/btrfs-luks.conf
index 5eee46d..7980840 100644
--- a/scripts/test-configs/btrfs-luks.conf
+++ b/scripts/test-configs/btrfs-luks.conf
@@ -1,5 +1,8 @@
# Test config: Btrfs single disk with LUKS encryption
+# Enable testing mode for automated LUKS passphrase handling
+TESTING=yes
+
HOSTNAME=test-btrfs-luks
TIMEZONE=UTC
LOCALE=en_US.UTF-8
diff --git a/scripts/test-configs/btrfs-mirror-luks.conf b/scripts/test-configs/btrfs-mirror-luks.conf
index 823dfbb..2cf0737 100644
--- a/scripts/test-configs/btrfs-mirror-luks.conf
+++ b/scripts/test-configs/btrfs-mirror-luks.conf
@@ -1,5 +1,8 @@
# Test config: Btrfs 2-disk mirror (RAID1) with LUKS encryption
+# Enable testing mode for automated LUKS passphrase handling
+TESTING=yes
+
HOSTNAME=test-btrfs-mirror-luks
TIMEZONE=UTC
LOCALE=en_US.UTF-8