Files
football/tests/security/encryption_comprehensive_test.bats
Charles N Wyble 89fd6b7dfb fix: move preseed.cfg to includes.installer for live-build
The preseed file needs to be in config/includes.installer/ for live-build
to embed it into the Debian installer. Previously it was in config/ which
doesn't get picked up by lb build.

- Moved config/preseed.cfg -> config/includes.installer/preseed.cfg
- Updated all test files to reference new path

💘 Generated with Crush

Assisted-by: GLM-4.7 via Crush <crush@charm.land>
2026-02-19 19:39:35 -05:00

16 lines
440 B
Bash

#!/usr/bin/env bats
# Encryption configuration tests
@test "LUKS2 encryption configured" {
grep -q "LUKS" /workspace/config/includes.installer/preseed.cfg
}
@test "AES cipher configured" {
grep -qi "aes" /workspace/config/includes.installer/preseed.cfg
}
@test "encryption hooks exist" {
[ -f "/workspace/config/hooks/installed/encryption-setup.sh" ]
[ -f "/workspace/config/hooks/installed/encryption-validation.sh" ]
}