mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-18 21:36:27 +00:00
tests/gem_mmap_gtt: clarify access check checks a bit
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
a0aa8f1a2c
commit
694bd81ed6
@ -96,8 +96,8 @@ test_access(int fd)
|
||||
|
||||
/* Check that the same offset on the other fd doesn't work. */
|
||||
igt_assert(!mmap64(0, OBJECT_SIZE, PROT_READ | PROT_WRITE,
|
||||
MAP_SHARED, fd2, mmap_arg.offset) &&
|
||||
errno == EACCES);
|
||||
MAP_SHARED, fd2, mmap_arg.offset));
|
||||
igt_assert(errno == EACCES);
|
||||
|
||||
flink = gem_flink(fd, handle);
|
||||
igt_assert(flink);
|
||||
|
Loading…
x
Reference in New Issue
Block a user