summaryrefslogtreecommitdiff
path: root/tests/kms_universal_plane.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/kms_universal_plane.c')
-rw-r--r--tests/kms_universal_plane.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/kms_universal_plane.c b/tests/kms_universal_plane.c
index cb5070b1..30c03bbb 100644
--- a/tests/kms_universal_plane.c
+++ b/tests/kms_universal_plane.c
@@ -333,6 +333,7 @@ sanity_test_init(sanity_test_t *test, igt_output_t *output, enum pipe pipe)
&test->undersized_fb);
test->moderes = drmModeGetResources(data->drm_fd);
+ igt_assert(test->moderes);
}
static void