pthreadpool: replace assert_return_code(ret, 0); with assert_int_equal(ret, 0);
authorStefan Metzmacher <metze@samba.org>
Mon, 23 Jul 2018 21:24:22 +0000 (23:24 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 24 Jul 2018 15:38:26 +0000 (17:38 +0200)
commitc51cae583fd119db613c62bd53070d7d53227c56
tree9604b3dea7930bfd548a219c7866fa4d8f6bc757
parent617d9c877df4af1ccc5b36f95dea3301e9a46d9d
pthreadpool: replace assert_return_code(ret, 0); with assert_int_equal(ret, 0);

We need to assert the exact value!

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
lib/pthreadpool/tests_cmocka.c