+8
-3
lines changedFilter options
+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