[PATCH v5 3/4] test: add test for packet dissector

Stephen Hemminger stephen at networkplumber.org
Fri Aug 2 20:06:14 CEST 2024


On Fri, 2 Aug 2024 09:38:23 +0100
Bruce Richardson <bruce.richardson at intel.com> wrote:

> > +	rte_dissect_mbuf(obuf, sizeof(obuf), &mb, 0);
> > +
> > +	return TEST_SUCCESS;
> > +}  
> 
> What are these test cases actually verifying - can any of them actually
> fail? I don't see the output being checked anywhere.
> 
> /Bruce

Mostly the tests are to make sure that code doesn't crash when
given invalid packet data or truncated packet.


More information about the dev mailing list