details:   http://hg.nginx.org/njs/rev/4e647f0bf155
branches:  
changeset: 510:4e647f0bf155
user:      Dmitry Volyntsev <xei...@nginx.com>
date:      Thu Apr 26 20:21:44 2018 +0300
description:
Fixed unit tests exit code.

Previously, 0 was returned regardless of failures.

diffstat:

 njs/test/njs_unit_test.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 1305b1701099 -r 4e647f0bf155 njs/test/njs_unit_test.c
--- a/njs/test/njs_unit_test.c  Thu Apr 26 19:58:26 2018 +0300
+++ b/njs/test/njs_unit_test.c  Thu Apr 26 20:21:44 2018 +0300
@@ -9878,7 +9878,7 @@ done:
         printf("njs unit tests passed\n");
     }
 
-    return NXT_OK;
+    return rc;
 }
 
 
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to