summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/kms_content_protection.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/kms_content_protection.c b/tests/kms_content_protection.c
index 1d1a439a..a0a136da 100644
--- a/tests/kms_content_protection.c
+++ b/tests/kms_content_protection.c
@@ -402,6 +402,7 @@ static void test_content_protection_on_output(igt_output_t *output,
static void __debugfs_read(int fd, const char *param, char *buf, int len)
{
len = igt_debugfs_simple_read(fd, param, buf, len);
+ igt_require(len != -ENOENT);
if (len < 0)
igt_assert_eq(len, -ENODEV);
}