diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-04-28 20:11:25 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-04-28 20:12:59 +0200 |
commit | 176409c10d3bd649dc20b4767cf6b0d34c5a0956 (patch) | |
tree | e37f3ff261ca59cc7e8de87349eb50a390c0623b /main/nginx/njs~fix-test-exit-code.patch | |
parent | daf677dacdc4524021cebc6cb437e53330e6ae67 (diff) | |
download | aports-176409c10d3bd649dc20b4767cf6b0d34c5a0956.tar.bz2 aports-176409c10d3bd649dc20b4767cf6b0d34c5a0956.tar.xz |
main/nginx: add njs module
Diffstat (limited to 'main/nginx/njs~fix-test-exit-code.patch')
-rw-r--r-- | main/nginx/njs~fix-test-exit-code.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/main/nginx/njs~fix-test-exit-code.patch b/main/nginx/njs~fix-test-exit-code.patch new file mode 100644 index 0000000000..f6edfc7698 --- /dev/null +++ b/main/nginx/njs~fix-test-exit-code.patch @@ -0,0 +1,24 @@ +# HG changeset patch +# User Dmitry Volyntsev <xeioex@nginx.com> +# Date 1524763304 -10800 +# Node ID 4e647f0bf155f0e858a8838c216e3ba1559ff870 +# Parent 1305b1701099541bcb47579ce1719550662e0d1c +Fixed unit tests exit code. + +Previously, 0 was returned regardless of failures. + +Patch-Source: http://hg.nginx.org/njs/rev/4e647f0bf155 + +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 @@ + printf("njs unit tests passed\n"); + } + +- return NXT_OK; ++ return rc; + } + + + |