test/hash: check freeing key with position
authorDharmik Thakkar <dharmik.thakkar@arm.com>
Thu, 9 May 2019 17:19:07 +0000 (17:19 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 9 May 2019 20:33:15 +0000 (22:33 +0200)
commita55f182b77507f3c7ea65362c759a5a96ddc784b
treed5ecf2890edeb5aebeb2b29b3f94b34f01133ed2
parent52c7abbea95064edd73eee6ab1ceafaab066d55a
test/hash: check freeing key with position

This patch adds a unit test for rte_hash_free_key_with_position().

Suggested-by: Linfan <zhongdahulinfan@163.com>
Signed-off-by: Dharmik Thakkar <dharmik.thakkar@arm.com>
Acked-by: Yipeng Wang <yipeng1.wang@intel.com>
app/test/test_hash.c