Mercurial > hg > nginx-tests
comparison image_filter_finalize.t @ 568:907e89fba9c3
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Sun, 03 May 2015 12:45:09 +0300 |
parents | 1ab33feebbfd |
children | 2cd00179f4b2 |
comparison
equal
deleted
inserted
replaced
567:22bade4c7e12 | 568:907e89fba9c3 |
---|---|
138 ############################################################################### | 138 ############################################################################### |
139 | 139 |
140 like(http_get('/t1'), qr/HTTP/, 'image filter and cache'); | 140 like(http_get('/t1'), qr/HTTP/, 'image filter and cache'); |
141 like(http_get('/t2'), qr/HTTP/, 'image filter and store'); | 141 like(http_get('/t2'), qr/HTTP/, 'image filter and store'); |
142 | 142 |
143 TODO: { | |
144 local $TODO = 'not yet' unless $t->has_version('1.7.11'); | |
145 | |
146 http_get('/slow'); | 143 http_get('/slow'); |
147 http_get('/t3'); | 144 http_get('/t3'); |
148 like(http_get('/time.log'), qr!/t3:.*, [1-9]\.!, 'upstream response time'); | 145 like(http_get('/time.log'), qr!/t3:.*, [1-9]\.!, 'upstream response time'); |
149 | 146 |
150 } | |
151 | |
152 like(`grep -F '[alert]' ${\($t->testdir())}/error.log`, qr/^$/s, 'no alerts'); | 147 like(`grep -F '[alert]' ${\($t->testdir())}/error.log`, qr/^$/s, 'no alerts'); |
153 | 148 |
154 ############################################################################### | 149 ############################################################################### |