Skip to content

Commit 8881097

Browse files
authored
Merge pull request #3378 from airween/v2/testfix
fix: 'make test' is able to run again
2 parents 5f70b3a + 302fce7 commit 8881097

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

tests/Makefile.am

+7-3
Original file line numberDiff line numberDiff line change
@@ -40,23 +40,26 @@ msc_test_CFLAGS = @APR_CFLAGS@ \
4040
@LUA_CFLAGS@ \
4141
@MODSEC_EXTRA_CFLAGS@ \
4242
@PCRE_CFLAGS@ \
43+
@PCRE2_CFLAGS@ \
4344
@YAJL_CFLAGS@ \
4445
@SSDEEP_CFLAGS@
45-
46+
4647
msc_test_CPPFLAGS = -I$(top_srcdir)/apache2 \
4748
@APR_CPPFLAGS@ \
4849
@CURL_CPPFLAGS@ \
4950
@LIBXML2_CFLAGS@ \
5051
@LIBXML2_CPPFLAGS@ \
51-
@PCRE_CPPFLAGS@
52-
52+
@PCRE_CPPFLAGS@ \
53+
@PCRE2_CPPFLAGS@
54+
5355
msc_test_LDADD = @APR_LDADD@ \
5456
@APU_LDADD@ \
5557
@CURL_LDADD@ \
5658
@LIBXML2_CFLAGS@ \
5759
@LIBXML2_LDADD@ \
5860
@LUA_LDADD@ \
5961
@PCRE_LDADD@ \
62+
@PCRE2_LDADD@ \
6063
@YAJL_LDADD@ \
6164
@SSDEEP_CFLAGS@
6265

@@ -67,6 +70,7 @@ msc_test_LDFLAGS = @APR_LDFLAGS@ \
6770
@LIBXML2_LDFLAGS@ \
6871
@LUA_LDFLAGS@ \
6972
@PCRE_LDFLAGS@ \
73+
@PCRE2_LDFLAGS@ \
7074
@YAJL_LDFLAGS@ \
7175
@SSDEEP_LDFLAGS@
7276

tests/msc_test.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ char DSOLOCAL *real_server_signature = NULL;
8181
int DSOLOCAL remote_rules_fail_action = REMOTE_RULES_ABORT_ON_FAIL;
8282
char DSOLOCAL *remote_rules_fail_message = NULL;
8383
module AP_MODULE_DECLARE_DATA security2_module = {
84-
NULL,
84+
STANDARD20_MODULE_STUFF,
8585
NULL,
8686
NULL,
8787
NULL,

0 commit comments

Comments
 (0)