So I accidentally fixed a check when converting to the new macros and the kernel never returned -ENOENT for invalid regs. Adjust the test. Signed-off-by: Daniel Vetter <daniel.vetter@xxxxxxxx> --- tests/gem_reg_read.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gem_reg_read.c b/tests/gem_reg_read.c index ac0fc1a7fef3..4220d69f8aaa 100644 --- a/tests/gem_reg_read.c +++ b/tests/gem_reg_read.c @@ -73,7 +73,7 @@ igt_simple_main reg_read.offset = 0x12345678; ret = drmIoctl(fd, REG_READ_IOCTL, ®_read); - igt_assert(ret != 0 && errno == ENOENT); + igt_assert(ret != 0 && errno == EINVAL); close(fd); } -- 1.8.1.4 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx