app/test: fix hash multiwriter sequence
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 6 Oct 2016 22:34:50 +0000 (23:34 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 13 Oct 2016 13:40:39 +0000 (15:40 +0200)
commit4f117ebda0061b6182366eda5abfb740a6d3fc36
tree99bac0d65808c5eb25257ceba1adf0462b149f72
parentd3ab8f9737099267cd5de0c6b97d36ac5844a8b2
app/test: fix hash multiwriter sequence

Hash multiwriter test consists of two subtests.
If the any of the subtests fails, the overall test should fail,
but the overall test only passed if the second subtest passed,
because the return of the first subtest was being overwritten.

Fixes: be856325cba3 ("hash: add scalable multi-writer insertion with Intel TSX")

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
app/test/test_hash_multiwriter.c