Commit 38d8964
test: fail_on_warn non-fail case reflects expiring-soon status
Review feedback on PR #11: the prior "does not fail" test used a plain
valid cert, so the summary showed "Valid" rather than the nearing-expiry
status the scenario is meant to demonstrate.
Use an expiring cert that shares a subject with a newer valid replacement.
With fail_on_warn=true this must not fail (WARN_COUNT stays 0), and the
summary now correctly shows "Expiring Soon (newer replacement exists)".
Adds the multi_expiring.pem fixture for this case.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent fc62dad commit 38d8964
1 file changed
Lines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
123 | 129 | | |
124 | 130 | | |
125 | 131 | | |
| |||
221 | 227 | | |
222 | 228 | | |
223 | 229 | | |
224 | | - | |
| 230 | + | |
225 | 231 | | |
226 | 232 | | |
227 | 233 | | |
228 | | - | |
| 234 | + | |
229 | 235 | | |
230 | 236 | | |
231 | 237 | | |
232 | 238 | | |
233 | | - | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
234 | 242 | | |
235 | 243 | | |
236 | 244 | | |
| |||
0 commit comments