A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/openresty/lua-nginx-module/commit/0e769b76432df91e5f10aa56a56858e8a190faf7 below:

skip this test if mockeagain is not loade… · openresty/lua-nginx-module@0e769b7 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+8

-3

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+8

-3

lines changed Original file line number Diff line number Diff line change

@@ -13,9 +13,14 @@ BEGIN {

13 13

$SkipReason = "http2 does not support mockeagain";

14 14 15 15

} else {

16 -

$ENV{TEST_NGINX_POSTPONE_OUTPUT} = 1;

17 -

$ENV{TEST_NGINX_EVENT_TYPE} = 'poll';

18 -

$ENV{MOCKEAGAIN}='w'

16 +

if ($ENV{LD_PRELOAD} && $ENV{LD_PRELOAD} =~ /\bmockeagain\.so\b/) {

17 +

$ENV{TEST_NGINX_POSTPONE_OUTPUT} = 1;

18 +

$ENV{TEST_NGINX_EVENT_TYPE} = 'poll';

19 +

$ENV{MOCKEAGAIN}='w'

20 +

} else {

21 +

$SkipReason = "'mockeagain.so' does not appear to be preloaded "

22 +

. "with 'LD_PRELOAD'";

23 +

}

19 24

}

20 25

}

21 26

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4