This series fixes compiler warnings in unit tests about
format truncation.
v7 - refactor to have common code for formatting --file-prefix=XXX
which addresses a couple more warnings produced on RHEL8.
Stephen Hemminger (10):
test: increase size of memzone name
test: add new function to get current file-prefix arg
test: refactor file prefix arg handling
test: avoid overflowing huge directory path
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 several places by using common code
test: use unit test runner for eal flags
test: re-enable format-truncation warnings
app/test/meson.build | 1 -
app/test/process.h | 38 ++++-
app/test/test_cfgfile.c | 8 +-
app/test/test_cryptodev.c | 22 ++-
app/test/test_eal_flags.c | 264 ++++++++++++--------------------
app/test/test_memzone.c | 2 +-
app/test/test_mp_secondary.c | 14 +-
app/test/test_pdump.c | 13 +-
app/test/test_table_acl.c | 4 +-
app/test/test_timer_secondary.c | 12 +-
10 files changed, 161 insertions(+), 217 deletions(-)
--
2.51.0