summaryrefslogtreecommitdiff
path: root/tests/prime_self_import.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-07-23 11:25:47 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-07-23 11:25:47 +0200
commitc832aa1714a47516e6b9402709d66720c464393f (patch)
treed727ae381a507c138d82bb8a71855517a52ec3ad /tests/prime_self_import.c
parent5d9e22366b37b725358d22dbee47e094f7157974 (diff)
tests: fixup prime test paranoia
Diffstat (limited to 'tests/prime_self_import.c')
-rw-r--r--tests/prime_self_import.c4
1 files changed, 2 insertions, 2 deletions
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++;