summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/kms_pipe_crc_basic.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/kms_pipe_crc_basic.c b/tests/kms_pipe_crc_basic.c
index 920eb6e0..852f1697 100644
--- a/tests/kms_pipe_crc_basic.c
+++ b/tests/kms_pipe_crc_basic.c
@@ -49,8 +49,10 @@ static struct {
static void test_bad_source(data_t *data)
{
errno = 0;
- if (igt_sysfs_set(data->debugfs, "crtc-0/crc/control", "foo"))
+ if (igt_sysfs_set(data->debugfs, "crtc-0/crc/control", "foo")) {
igt_assert(openat(data->debugfs, "crtc-0/crc/data", O_WRONLY) == -1);
+ igt_skip_on(errno == EIO);
+ }
igt_assert_eq(errno, EINVAL);
}