Mercurial > hg > nginx-tests
comparison ssi-include-big.t @ 52:405e8ca11c77
Tests: big subrequests are ok in 0.7.25 and up, remove TODO.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 09 Dec 2008 01:30:43 +0300 |
parents | d68b85def521 |
children | 726c3c2a8b8c |
comparison
equal
deleted
inserted
replaced
51:d59ae7bab0a6 | 52:405e8ca11c77 |
---|---|
81 | 81 |
82 my $t2 = http_gzip_request('/test2.html'); | 82 my $t2 = http_gzip_request('/test2.html'); |
83 ok(defined $t2, 'small included file (equal to output_buffers)'); | 83 ok(defined $t2, 'small included file (equal to output_buffers)'); |
84 http_gzip_like($t2, qr/^X{1024}\Z/, 'small included file content'); | 84 http_gzip_like($t2, qr/^X{1024}\Z/, 'small included file content'); |
85 | 85 |
86 TODO: { | |
87 local $TODO = 'not fixed yet, patch under review'; | |
88 | |
89 my $t3 = http_gzip_request('/test3.html'); | 86 my $t3 = http_gzip_request('/test3.html'); |
90 ok(defined $t3, 'big included file (more than output_buffers)'); | 87 ok(defined $t3, 'big included file (more than output_buffers)'); |
91 http_gzip_like($t3, qr/^X{1025}\Z/, 'big included file content'); | 88 http_gzip_like($t3, qr/^X{1025}\Z/, 'big included file content'); |
92 | |
93 } | |
94 | 89 |
95 my $t4 = http_gzip_request('/test4.html'); | 90 my $t4 = http_gzip_request('/test4.html'); |
96 ok(defined $t4, 'big ssi main file'); | 91 ok(defined $t4, 'big ssi main file'); |
97 http_gzip_like($t4, qr/^X{1025}\Z/, 'big ssi main file content'); | 92 http_gzip_like($t4, qr/^X{1025}\Z/, 'big ssi main file content'); |
98 | 93 |