From: Mathieu Desnoyers Date: Thu, 15 Sep 2011 10:41:46 +0000 (-0400) Subject: rculfhash test: exit upon failure X-Git-Tag: v0.7.0~43^2~148^2~3 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=46834ba60a52345de12b74e9d13dc33047792a8d;p=userspace-rcu.git rculfhash test: exit upon failure Signed-off-by: Mathieu Desnoyers --- diff --git a/tests/test_urcu_hash.c b/tests/test_urcu_hash.c index 2424593..7485d98 100644 --- a/tests/test_urcu_hash.c +++ b/tests/test_urcu_hash.c @@ -405,6 +405,7 @@ void *thr_reader(void *_count) if (node == NULL) { if (validate_lookup) { printf("[ERROR] Lookup cannot find initial node.\n"); + exit(-1); } lookup_fail++; } else {