Skip to content

Commit 1782342

Browse files
committed
Improve test to detect improper header list handling
1 parent aef60eb commit 1782342

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

t/020-subrequest.t

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ repeat_each(2);
1313

1414
plan tests => repeat_each() * (blocks() * 3 + 23);
1515

16+
$ENV{MALLOC_PERTURB_} = 9;
1617
$ENV{TEST_NGINX_MEMCACHED_PORT} ||= 11211;
1718
$ENV{TEST_NGINX_HTML_DIR} ||= html_dir();
1819

t/111-req-header-ua.t

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ repeat_each(2);
1010

1111
plan tests => repeat_each() * (4 * blocks());
1212

13+
$ENV{MALLOC_PERTURB_} = 9;
14+
1315
#no_diff();
1416
no_long_string();
1517

0 commit comments

Comments
 (0)