summaryrefslogtreecommitdiff
path: root/tests/gem_ctx_bad_destroy.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-13 12:35:58 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-13 15:07:44 +0200
commit83440953e50d1c46217ce9bdcd74aa9a4671913d (patch)
tree4e94f8444c479e4e59be2b760dba01d3aa561ed2 /tests/gem_ctx_bad_destroy.c
parent2371c79bbd69f46c2849298fb7f216a5b9a21aa8 (diff)
tests: s/assert/igt_assert
Just a wholesale rollout for now, we can refine later on. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/gem_ctx_bad_destroy.c')
-rw-r--r--tests/gem_ctx_bad_destroy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_ctx_bad_destroy.c b/tests/gem_ctx_bad_destroy.c
index 02db55f3..8ac78874 100644
--- a/tests/gem_ctx_bad_destroy.c
+++ b/tests/gem_ctx_bad_destroy.c
@@ -89,7 +89,7 @@ int main(int argc, char *argv[])
destroy.ctx_id = ctx_id;
/* Make sure a proper destroy works first */
ret = drmIoctl(fd, CONTEXT_DESTROY_IOCTL, &destroy);
- assert(ret == 0);
+ igt_assert(ret == 0);
/* try double destroy */
ret = drmIoctl(fd, CONTEXT_DESTROY_IOCTL, &destroy);