Mercurial > hg > nginx-tests
comparison msie_refresh_ssi.t @ 1251:766bcbb632ee
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 24 Nov 2017 19:58:40 +0300 |
parents | 1e41a0de0772 |
children |
comparison
equal
deleted
inserted
replaced
1250:b708848eb49a | 1251:766bcbb632ee |
---|---|
54 $t->write_file('index.html', 'X<!--#include virtual="/ssi.html" -->X'); | 54 $t->write_file('index.html', 'X<!--#include virtual="/ssi.html" -->X'); |
55 $t->run(); | 55 $t->run(); |
56 | 56 |
57 ############################################################################### | 57 ############################################################################### |
58 | 58 |
59 TODO: { | |
60 local $TODO = 'not yet' unless $t->has_version('1.11.5'); | |
61 | |
62 my $r = get('/', 'User-Agent: MSIE foo'); | 59 my $r = get('/', 'User-Agent: MSIE foo'); |
63 unlike($r, qr/\x0d\x0a?0\x0d\x0a?\x0d\x0a?\w/, 'only final chunk'); | 60 unlike($r, qr/\x0d\x0a?0\x0d\x0a?\x0d\x0a?\w/, 'only final chunk'); |
64 | |
65 } | |
66 | 61 |
67 ############################################################################### | 62 ############################################################################### |
68 | 63 |
69 sub get { | 64 sub get { |
70 my ($url, $extra) = @_; | 65 my ($url, $extra) = @_; |