diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2015-03-19 08:36:25 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2015-03-19 08:37:51 +0000 |
commit | ea4aa70f3c83a942ee34868ade1eba126b15d879 (patch) | |
tree | 09af394eaa8375158a2737d2f3e46aa1927be1ed /tests | |
parent | 1d0aa69f55fdb31662946f1cb472dda31347d89b (diff) |
igt/gem_wait: When waiting for infinity, an infinity remains
Incorrect testing of out parameters leads to bug noise...
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89494#c4
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/gem_wait.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_wait.c b/tests/gem_wait.c index 67317ddf..958bf93f 100644 --- a/tests/gem_wait.c +++ b/tests/gem_wait.c @@ -215,7 +215,7 @@ static void render_timeout(int fd) intel_batchbuffer_flush(batch); igt_assert_eq(gem_bo_wait_timeout(fd, dst2->handle, &negative_timeout), 0); - igt_assert_eq(negative_timeout, 0); + igt_assert_eq(negative_timeout, -1); /* infinity always remains */ igt_assert(gem_bo_busy(fd, dst2->handle) == false); if (do_signals) |