test/eal: fix command array sizes
authorDavid Marchand <david.marchand@redhat.com>
Wed, 31 Jul 2019 18:56:30 +0000 (20:56 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 2 Aug 2019 20:47:07 +0000 (22:47 +0200)
commit04b83f8f4501e50bcd3e51fe1664e360189763a6
tree26ecd02190b43893f544aaa301d7e91360cd427d
parent0c573f39e5f67c8547a966e11516fd548af0d3b4
test/eal: fix command array sizes

Following removal of -c and -n options, the array should have been
shrunk to avoid launch_proc to access unitialised strings.

Fixes: b4dbacdb1ad7 ("test/eal: set core mask/list config only in dedicated test")
Fixes: 501fa9a40298 ("test/eal: set memory channel config only in dedicated test")

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Michael Santana <msantana@redhat.com>
app/test/test_eal_flags.c