From 69cfe9cc7c03f663bcbc430291bc3a9460e433ba Mon Sep 17 00:00:00 2001 From: Denys Fedoryshchenko Date: Wed, 28 Oct 2026 20:47:22 +0200 Subject: 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 --- .github/workflows/run-tests-asan-ubsan.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to '.github') diff --git a/.github/workflows/run-tests-asan-ubsan.yml b/.github/workflows/run-tests-asan-ubsan.yml index 0ee2c755..77586419 100644 --- a/.github/workflows/run-tests-asan-ubsan.yml +++ b/.github/workflows/run-tests-asan-ubsan.yml @@ -64,6 +64,7 @@ jobs: env: ${{ matrix.env_name }}: ${{ matrix.env_value }} run: | + ctest --test-dir build --output-on-failure gcc -O1 -g -Wall -fno-strict-aliasing -D_GNU_SOURCE \ -DOPENSSL_API_COMPAT=0x10100000L \ -fsanitize=${{ matrix.sanitizer }} -fno-sanitize-recover=all \ @@ -80,6 +81,7 @@ jobs: /tmp/ipv6_dns_test gcc -O2 -Wall -o /tmp/bitpool_test accel-pppd/extra/bitpool_test.c /tmp/bitpool_test + sh tests/unit/run_safeguards.sh build - name: Insert and check kernel modules (ipoe, vlan-mon, ppposeq) # if: ${{ false }} -- cgit v1.2.3