Re: [PATCH v6 0/9] tests: fix format truncation warnings

fengchengwen
2025-11-24T01:54:03Z

Series-acked-by: Chengwen Feng <fengchengwen@huawei.com>

On 11/24/2025 1:43 AM, Stephen Hemminger wrote:
> This series fixes compiler warnings about format truncation
> in the unit tests.
>
> v6 - alternate strategy for handling huge page mount point
> - fix warnings which only show up in RHEL8
>
> Stephen Hemminger (9):
> test: increase size of memzone name
> test: refactor file prefix arg handling
> test: avoid overflowing huge directory path
> test: use unit test runner for eal flags
> test: fix format overflow warning in ACL test
> test: fix impossible format-truncation in cfgfiles
> test: fix format overflow in cryptodev test
> test: fix overflow warnings in mp_secondary and pdump
> test: re-enable format-truncation warnings
>
> app/test/meson.build | 1 -
> app/test/test_cfgfile.c | 8 +-
> app/test/test_cryptodev.c | 22 ++-
> app/test/test_eal_flags.c | 283 ++++++++++++++---------------------
> app/test/test_memzone.c | 2 +-
> app/test/test_mp_secondary.c | 4 +-
> app/test/test_pdump.c | 4 +-
> app/test/test_table_acl.c | 4 +-
> 8 files changed, 140 insertions(+), 188 deletions(-)
>