rculfhash test: exit upon failure
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 15 Sep 2011 10:41:46 +0000 (06:41 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 15 Sep 2011 10:41:46 +0000 (06:41 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tests/test_urcu_hash.c

index 24245932c0862925bd7584abf9d448921d456c7a..7485d983d92467739d4a0cafe49a830e05480989 100644 (file)
@@ -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 {
This page took 0.025854 seconds and 4 git commands to generate.