mirror of
https://github.com/jmcorgan/fips.git
synced 2026-10-05 19:18:25 +00:00
The teardown checks negated `docker exec <name> test -f <path>`. When `docker exec` itself failed, for example because teardown had taken the container down, it returned non-zero just as a missing file does, so the negation read the failure as a clean teardown and the check passed. The checks now go through one helper that passes only on a confirmed absence (`test ! -f` inside a reachable container). If the check cannot run, it fails and names the container that is no longer running as the reason, rather than reporting the file as still present. Output on a healthy run is unchanged line for line.