tests/gem_tiled_swapping: fix igt_require conversion

I seem to be incompetent at logic ...

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68831
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter 2013-09-02 07:51:24 +02:00
parent f73724c362
commit 859159a272

View File

@ -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++)