From 20d32d640d83b5281f9a336dddcb52f503421224 Mon Sep 17 00:00:00 2001 From: Dmitry Volyntsev Date: Thu, 26 Apr 2018 20:21:44 +0300 Subject: [PATCH] Fixed unit tests exit code. Previously, 0 was returned regardless of failures. --- njs/test/njs_unit_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/njs/test/njs_unit_test.c b/njs/test/njs_unit_test.c index 2ffa51a9..b921bbd3 100644 --- a/njs/test/njs_unit_test.c +++ b/njs/test/njs_unit_test.c @@ -9878,7 +9878,7 @@ done: printf("njs unit tests passed\n"); } - return NXT_OK; + return rc; } -- 2.47.3