test_automated_install.bats was a single 372-line file running 18 tests
serially, which doubled wall-clock CI time compared to the old pytest
suite (which used pytest-xdist -n auto for parallelism).
Split into three focused files:
- test_automated_install.bats — core installer: package manager
detection, SELinux config check, fresh install, package cache
update (success/failure), dependency installation, meta-package
uninstall (7 tests)
- test_ftl.bats — FTL architecture detection for all supported arches
plus binary installation and version check (9 tests)
- test_network.bats — IPv6 address detection (link-local/ULA/GUA
precedence) and IP address validation (6 tests)
Update run.sh to include the new files and to pass --jobs $(nproc) to
BATS when GNU parallel is available, running all files concurrently.
This restores the degree of parallelism previously provided by
pytest-xdist and brings CI duration back in line with the old suite.
Signed-off-by: Adam Warner <me@adamwarner.co.uk>