From: Dmitry Volyntsev Date: Thu, 26 Apr 2018 17:21:44 +0000 (+0300) Subject: Fixed unit tests exit code. X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/static/gitweb.js?a=commitdiff_plain;h=20d32d640d83b5281f9a336dddcb52f503421224;p=njs.git Fixed unit tests exit code. Previously, 0 was returned regardless of failures. --- 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; }