From c832aa1714a47516e6b9402709d66720c464393f Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Mon, 23 Jul 2012 11:25:47 +0200 Subject: tests: fixup prime test paranoia --- tests/prime_self_import.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/prime_self_import.c') diff --git a/tests/prime_self_import.c b/tests/prime_self_import.c index 36514363..111ed4da 100644 --- a/tests/prime_self_import.c +++ b/tests/prime_self_import.c @@ -62,8 +62,8 @@ check_bo(int fd1, uint32_t handle1, int fd2, uint32_t handle2) /* check whether it's still our old object first. */ for (i = 0; i < BO_SIZE; i++) { - assert(ptr1[i] == 0); - assert(ptr2[i] == 0); + assert(ptr1[i] == counter); + assert(ptr2[i] == counter); } counter++; -- cgit v1.2.3