2
use warnings FATAL => 'all';
5
use Apache::TestRequest;
11
my $invoked = 34; # 33 bb made of data and 1 flush bucket (unbuffered print)
12
# 1 bb with EOS bucket
13
my $sig = join "\n", "received $blocks complete blocks",
14
"filter invoked $invoked times\n";
15
my $data = "#" x $blocks . "x" x $blocks;
16
my $expected = join "\n", $data, $sig;
19
# test the filtering of the mod_perl response handler
20
my $location = '/TestFilter__out_bbs_ctx';
21
my $response = GET_BODY $location;
22
ok t_cmp($expected, $response, "context filter");