diff options
author | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2017-03-21 17:30:06 +0100 |
---|---|---|
committer | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2017-03-21 17:31:23 +0100 |
commit | 7be509c411db2b35f6593e41222b0ad4c0e764e0 (patch) | |
tree | 7d494fce862f12fafa05b30ce79e0818bc2b5d20 /tests | |
parent | ba6d0dce2c3afa26a1dd3ceed024e281395cc7ce (diff) |
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 <tomeu.vizoso@collabora.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/kms_pipe_crc_basic.c | 1 |
1 files changed, 0 insertions, 1 deletions
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"); |