summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-05-12 20:41:34 +0300
committerMax Romanov <max.romanov@nginx.com>2017-05-12 20:41:34 +0300
commit952ec2e0ffa37a139844d4883c254e375e7618e2 (patch)
treefb3a1612975974e972959827a9dfce004ee87ebe
parentf7b4bdfd892a0b479dc946896435a3ba7f9615dd (diff)
downloadunit-952ec2e0ffa37a139844d4883c254e375e7618e2.tar.gz
unit-952ec2e0ffa37a139844d4883c254e375e7618e2.tar.bz2
Fixed building test on Solaris
-rw-r--r--test/nxt_lib_unit_test.c2
-rw-r--r--test/nxt_utf8_file_name_test.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/nxt_lib_unit_test.c b/test/nxt_lib_unit_test.c
index 2dc6e2b7..669b0228 100644
--- a/test/nxt_lib_unit_test.c
+++ b/test/nxt_lib_unit_test.c
@@ -9,7 +9,7 @@
extern char **environ;
-nxt_module_init_t nxt_init_modules[0];
+nxt_module_init_t nxt_init_modules[1];
nxt_uint_t nxt_init_modules_n;
diff --git a/test/nxt_utf8_file_name_test.c b/test/nxt_utf8_file_name_test.c
index 4481ad38..9eccc147 100644
--- a/test/nxt_utf8_file_name_test.c
+++ b/test/nxt_utf8_file_name_test.c
@@ -12,7 +12,7 @@ extern char **environ;
static nxt_int_t nxt_utf8_file_name_test(nxt_thread_t *thr);
-nxt_module_init_t nxt_init_modules[0];
+nxt_module_init_t nxt_init_modules[1];
nxt_uint_t nxt_init_modules_n;