From: Colin McCabe Date: Wed, 11 May 2011 11:38:29 +0000 (-0400) Subject: userspace-rcu tests: zero array before using X-Git-Tag: v0.6.0~47 X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=commitdiff_plain;h=92e8d9d64a97e2d098cefa223208b2d18118194e;hp=92e8d9d64a97e2d098cefa223208b2d18118194e userspace-rcu tests: zero array before using 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 Signed-off-by: Mathieu Desnoyers ---