Mercurial > hg > nginx-tests
comparison proxy_xar.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 | eaf287a41f08 |
children | 9239393e73c8 |
comparison
equal
deleted
inserted
replaced
567:22bade4c7e12 | 568:907e89fba9c3 |
---|---|
101 unlike(http_get('/proxy?xar=/foo/.%2e'), qr/200 OK/, | 101 unlike(http_get('/proxy?xar=/foo/.%2e'), qr/200 OK/, |
102 'X-Accel-Redirect unsafe unescaped'); | 102 'X-Accel-Redirect unsafe unescaped'); |
103 like(http_get('/proxy?xar=/foo%20bar'), qr/uri: \/foo bar/, | 103 like(http_get('/proxy?xar=/foo%20bar'), qr/uri: \/foo bar/, |
104 'X-Accel-Redirect unescaped'); | 104 'X-Accel-Redirect unescaped'); |
105 | 105 |
106 TODO: { | |
107 local $TODO = 'not yet' unless $t->has_version('1.7.8'); | |
108 | |
109 like(http_get('/proxy?xar=@named'), | 106 like(http_get('/proxy?xar=@named'), |
110 qr!200 OK.*named xar: \@named uri: /proxy!s, 'in named location'); | 107 qr!200 OK.*named xar: \@named uri: /proxy!s, 'in named location'); |
111 | 108 |
112 } | |
113 | |
114 ############################################################################### | 109 ############################################################################### |