mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 17:36:11 +00:00
tests/gem_reg_read: Fix errno check
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@ffwll.ch>
This commit is contained in:
parent
6727de0c1a
commit
943511a3ab
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user