Mercurial > hg > nginx-tests
diff sub_filter.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 | b86c05516e65 |
children | eea2b0158b51 |
line wrap: on
line diff
--- a/sub_filter.t +++ b/sub_filter.t @@ -106,13 +106,6 @@ like(http_get('/complex3?b=aab'), qr/_re like(http_get('/complex3?b=aaab'), qr/a_replaced/, 'complex3 aab in aaab'); like(http_get('/complex3?b=aaaab'), qr/aa_replaced/, 'complex3 aab in aaaab'); -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.7.5'); - -SKIP: { -skip 'leaves coredump', 8 unless $t->has_version('1.7.5') - or $ENV{TEST_NGINX_UNSAFE}; - like(http_get('/single?b=A'), qr/B/, 'single only'); like(http_get('/single?b=AA'), qr/BA/, 'single begin'); like(http_get('/single?b=CAAC'), qr/CBAC/, 'single middle'); @@ -123,8 +116,4 @@ like(http_get('/single/many?b=AA'), qr/B like(http_get('/single/many?b=CAAC'), qr/CBBC/, 'single many middle'); like(http_get('/single/many?b=CA'), qr/CB/, 'single many end'); -} - -} - ###############################################################################