userspace-rcu tests: zero array before using
authorColin McCabe <cmccabe@alumni.cmu.edu>
Wed, 11 May 2011 11:38:29 +0000 (07:38 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 11 May 2011 11:38:29 +0000 (07:38 -0400)
It seems like we need the test arrays to start out zeroed.

Without this patch, I get errors like this when running the tests:
test_urcu: test_urcu.c:201: test_array_alloc:
Assertion `test_array[index].a == 0xDEADBEEF || test_array[index].a ==
0' failed.

Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>

No differences found
This page took 0.026142 seconds and 4 git commands to generate.