From 7be509c411db2b35f6593e41222b0ad4c0e764e0 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Tue, 21 Mar 2017 17:30:06 +0100 Subject: igt/kms_pipe_crc_basic: Don't assert on errno after success If errno contains left overs from previous syscalls, we'll be failing the assert in some successful conditions. Signed-off-by: Tomeu Vizoso --- tests/kms_pipe_crc_basic.c | 1 - 1 file changed, 1 deletion(-) (limited to 'tests/kms_pipe_crc_basic.c') diff --git a/tests/kms_pipe_crc_basic.c b/tests/kms_pipe_crc_basic.c index 49e856ab..f3c58390 100644 --- a/tests/kms_pipe_crc_basic.c +++ b/tests/kms_pipe_crc_basic.c @@ -76,7 +76,6 @@ static void test_bad_source(data_t *data) fflush(f); igt_assert_eq(written, strlen(source)); igt_assert(!ferror(f)); - igt_assert(!errno); fclose(f); f = igt_debugfs_fopen(data->drm_fd, "crtc-0/crc/data", "w"); -- cgit v1.2.3