diff options
| author | Denys Fedoryshchenko <denys.f@collabora.com> | 2026-10-28 20:47:22 +0200 |
|---|---|---|
| committer | Denys Fedoryshchenko <denys.f@collabora.com> | 2026-10-28 20:50:54 +0200 |
| commit | 69cfe9cc7c03f663bcbc430291bc3a9460e433ba (patch) | |
| tree | eecd2b24d4dd85cd0bf76c2b68107f0a29820523 /tests/README.md | |
| parent | f36902fa3110277d93f809e04a71cc427a2c6dbc (diff) | |
| download | accel-ppp-69cfe9cc7c03f663bcbc430291bc3a9460e433ba.tar.gz accel-ppp-69cfe9cc7c03f663bcbc430291bc3a9460e433ba.zip | |
tests: fix DHCPv6 fixtures after DNS refactoring and add CI coverage
Use the shared DNS storage and production allocator in the DHCPv6 fixture. Check bounded large DNS replies, preserve the repeated-ORO overflow regression, and check domain-list allocation failure in both reply builders. Link ipv6_dns.c and stub the truncation warning. Run the standalone suites and CTest in sanitizer CI, and replace the stale documented failure with current instructions.
Validation: all six standalone suites pass with ASan/UBSan (LCP uses UBSan); both CTest checks pass.
Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
Diffstat (limited to 'tests/README.md')
| -rw-r--r-- | tests/README.md | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/tests/README.md b/tests/README.md index abf3704e..d89958e1 100644 --- a/tests/README.md +++ b/tests/README.md @@ -21,18 +21,14 @@ These tests do not require installed kernel modules or root privileges. The sanitizer runtime needs an environment that permits its process inspection. The runner has six suites: `dhcpv6`, `radius`, `vrf`, `lcp`, `mempool`, and -`log_line`. With no names it attempts all six. The DHCPv6 fixture currently -refers to the removed `conf_dns_count` variable, and the runner does not link -the `ipv6_dns.c` implementation now used by the reply builder. That fixture -and its build command must be updated before a full run can pass. - -The other five suites can be run explicitly while that regression is being fixed: +`log_line`. With no names it runs all six: ```bash -sh tests/unit/run_safeguards.sh build radius vrf lcp mempool log_line +sh tests/unit/run_safeguards.sh build ``` -A successful subset run does not validate the DHCPv6 safeguards. The +The DHCPv6 suite checks bounded DNS replies and failure propagation when +non-truncatable options exhaust reply space. The [integration validation record](../docs/ng40-safeguards-review.md#validation) describes results from the revision at which those safeguards were introduced. |
