Commit 694bd81e authored by Daniel Vetter's avatar Daniel Vetter

tests/gem_mmap_gtt: clarify access check checks a bit

Signed-off-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent a0aa8f1a
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment