summaryrefslogtreecommitdiff
path: root/tests/kms_properties.c
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2016-09-08 12:19:35 +0200
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2016-09-08 12:20:23 +0200
commit6ae6aaf2e96e0de89f9bcb125dbc5f6410e884b7 (patch)
tree1c8968764060fb0bad55acb8aed82af081b6a149 /tests/kms_properties.c
parent4fb21789eb0f04a61033c85d2888db0e904716c2 (diff)
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 <maarten.lankhorst@linux.intel.com>
Diffstat (limited to 'tests/kms_properties.c')
-rw-r--r--tests/kms_properties.c2
1 files changed, 1 insertions, 1 deletions
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);
}