Files
football/tests/security/compliance_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
465 B
Bash

#!/usr/bin/env bats
# Security compliance tests
@test "preseed contains encryption configuration" {
grep -q "crypto" /workspace/config/includes.installer/preseed.cfg
grep -q "LUKS" /workspace/config/includes.installer/preseed.cfg
}
@test "WiFi is permanently disabled" {
grep -q "cfg80211" /workspace/src/security-hardening.sh
}
@test "nftables is in package list" {
grep -q "nftables" /workspace/config/package-lists/knel-football.list.chroot
}