Repository navigation
Commit 2cd323b
test(config): stub active-unit discovery in the php-fpm catalog test
Objective: keep TestPHPFPMCatalogDisabledProbeValidates independent of the
host's running services. On the CI runner an active php8.3-fpm unit made the
template materialize php-fpm8.3, whose app the fake bindir does not carry.
Invariant: the shipped php-fpm profile with its fpm probe disabled still
validates on systemd and OpenRC; no systemctl or rc-status call leaves the
test.
Evidence: make check; go test -race -count=1 -shuffle=on ./internal/config;
the test also passes with a fake systemctl reporting php8.3-fpm active and
with /usr/bin/php* hidden through an overlay mount.
Limitations: None.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>1 parent aaf18dd commit 2cd323b
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
22 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
| |||
0 commit comments