diff options
Diffstat (limited to 'tests/kms_flip.c')
-rw-r--r-- | tests/kms_flip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/kms_flip.c b/tests/kms_flip.c index 214cd696..a595d9f1 100644 --- a/tests/kms_flip.c +++ b/tests/kms_flip.c @@ -1616,7 +1616,8 @@ static void test_nonblocking_read(int in) igt_set_timeout(5, "Nonblocking DRM fd reading"); ret = read(fd, buffer, sizeof(buffer)); - igt_set_timeout(0, NULL); + igt_reset_timeout(); + igt_assert_eq(ret, -1); igt_assert_eq(errno, EAGAIN); |