summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-09-02 07:51:24 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-09-02 07:51:24 +0200
commit859159a2725dde4175ec75062fbdeba1d1e1c82e (patch)
treebdadec025d85a2f5cc6b23215e96c86e8a6b84ee
parentf73724c3628b61c41642837a709ac8427d699b99 (diff)
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>
-rw-r--r--tests/gem_tiled_swapping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_tiled_swapping.c b/tests/gem_tiled_swapping.c
index c28a393e..89b9c945 100644
--- a/tests/gem_tiled_swapping.c
+++ b/tests/gem_tiled_swapping.c
@@ -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++)