From 6ae6aaf2e96e0de89f9bcb125dbc5f6410e884b7 Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Thu, 8 Sep 2016 12:19:35 +0200 Subject: kms_properties: Invalid atomic properties should return -ENOENT This was already tested by kms_atomic when passing object id's as properties to set. Signed-off-by: Maarten Lankhorst --- tests/kms_properties.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/kms_properties.c') diff --git a/tests/kms_properties.c b/tests/kms_properties.c index f99e1b78..2650672d 100644 --- a/tests/kms_properties.c +++ b/tests/kms_properties.c @@ -323,7 +323,7 @@ static void test_invalid_properties(int fd, igt_assert(ret >= 0); ret = drmModeAtomicCommit(fd, req, DRM_MODE_ATOMIC_ALLOW_MODESET, NULL); - igt_assert_eq(ret, -EINVAL); + igt_assert_eq(ret, -ENOENT); drmModeAtomicFree(req); } -- cgit v1.2.3