test/eal: fix --socket-mem option
test/eal: fix --socket-mem option

eal flag autotest fails when multiple mem size flags are passed to
--socket-mem option irrespective of RTE_MAX_NUMA_NODES and the number of
available sockets on the test system.

Fixes: 45f1b6e8680a ("app: add new tests on eal flags")
Cc: stable@dpdk.org

Signed-off-by: Vamsi Attunuru <84e2f4da76b9835fad00db737e5b3cea51ac3451@marvell.com>
Signed-off-by: David Marchand <f28529695cfa9e3e1eb84e7072aa626af4abb18e@redhat.com>
Reviewed-by: Vamsi Attunuru <84e2f4da76b9835fad00db737e5b3cea51ac3451@marvell.com>
Tested-by: Vamsi Attunuru <84e2f4da76b9835fad00db737e5b3cea51ac3451@marvell.com>

john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk