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

Stephen Hemminger
2025-11-23T17:45:09Z

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(-)

--
2.51.0