summaryrefslogtreecommitdiff
path: root/tests/kms_flip.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-10-11 20:53:40 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-10-11 20:55:27 +0200
commita5d40a9bf27c2a41a981cb6fa168b1e68bfc0b3c (patch)
tree99e969e4bbe6276e0589bcb10e6ef00cade97299 /tests/kms_flip.c
parent98a2b5b01f915c05ef50364494d8092668b94d8c (diff)
tests/kms_flip: fix igt_assert
I've blown the conversion in commit 37e5b318c5dac290611099e2eec21df1e49fa71f Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Fri Oct 4 18:42:26 2013 +0200 tests/kms_flip: use igt_assert more Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70332 Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/kms_flip.c')
-rw-r--r--tests/kms_flip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_flip.c b/tests/kms_flip.c
index a656d660..227a1760 100644
--- a/tests/kms_flip.c
+++ b/tests/kms_flip.c
@@ -841,7 +841,7 @@ static unsigned int run_test_step(struct test_output *o)
set_dpms(o, DRM_MODE_DPMS_OFF);
if (o->flags & TEST_MODESET && !(o->flags & TEST_RMFB))
- igt_assert_f(set_mode(o, 0 /* no fb */, 0, 0),
+ igt_assert_f(set_mode(o, 0 /* no fb */, 0, 0) == 0,
"failed to disable output: %s\n",
strerror(errno));