diff options
author | Daniel Stone <daniels@collabora.com> | 2015-10-01 14:16:48 +0100 |
---|---|---|
committer | Daniel Stone <daniels@collabora.com> | 2015-11-03 19:46:11 +0000 |
commit | de7ccdd083579c82a1be0c028acf38617fb8c2ca (patch) | |
tree | 07154ee59791a7fadc2e70199e4b7d0c677681e2 /tests/drm_import_export.c | |
parent | f735015ed36f1e188d1107fd6b0969801df17c86 (diff) |
tests: Run igt.cocci
Signed-off-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to 'tests/drm_import_export.c')
-rw-r--r-- | tests/drm_import_export.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/drm_import_export.c b/tests/drm_import_export.c index 29c228f6..49486ab5 100644 --- a/tests/drm_import_export.c +++ b/tests/drm_import_export.c @@ -212,7 +212,7 @@ static void test_import_close_race(void) else { pthread_mutex_lock(&t_data.mutex); igt_assert_eq(drm_intel_bo_gem_export_to_prime(bo, &(t_data.prime_fd)), 0); - igt_assert(t_data.prime_fd != -1); + igt_assert_neq(t_data.prime_fd, -1); pthread_mutex_unlock(&t_data.mutex); } |