app/test: enhance mbuf refcnt check
authorOlivier Matz <olivier.matz@6wind.com>
Wed, 22 Apr 2015 09:57:28 +0000 (11:57 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 28 Apr 2015 09:38:41 +0000 (11:38 +0200)
commit4ccd2bb3a9e2d831a313bf4d0141427edf6a1600
treece782cf5f77f84404f7dd6ef9766c7cd8dbe2032
parentf1022aba76a5aa26e1761dd89ec59bb184f44773
app/test: enhance mbuf refcnt check

Check that the data in the cloned mbuf is the same than in the
reference mbuf.
Check that the reference counter is incremented for each segment.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
app/test/test_mbuf.c