Commit 859159a2 authored by Daniel Vetter's avatar Daniel Vetter

tests/gem_tiled_swapping: fix igt_require conversion

I seem to be incompetent at logic ...

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68831Signed-off-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent f73724c3
......@@ -116,7 +116,7 @@ main(int argc, char **argv)
for (i = 0; i < count; i++) {
bo_handles[i] = create_bo_and_fill(fd);
/* Not enough mmap address space possible. */
igt_require(bo_handles[i] == 0);
igt_require(bo_handles[i]);
}
for (i = 0; i < count; i++)
......
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