Signed-off-by: Daniel Vetter <daniel.vetter@xxxxxxxx> --- tests/prime_self_import.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/prime_self_import.c b/tests/prime_self_import.c index 67fd5217479c..defe97ef421f 100644 --- a/tests/prime_self_import.c +++ b/tests/prime_self_import.c @@ -302,7 +302,7 @@ static void test_reimport_close_race(void) close(fake); - igt_assert(obj_count == 0); + igt_assert_cmpint(obj_count, ==, 0); } static void *thread_fn_export_vs_close(void *p) @@ -376,7 +376,7 @@ static void test_export_close_race(void) obj_count = get_object_count() - obj_count; igt_info("leaked %i objects\n", obj_count); - igt_assert(obj_count == 0); + igt_assert_cmpint(obj_count, ==, 0); } static void test_llseek_size(void) -- 2.0.0 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx