Mercurial > hg > nginx-tests
diff realip.t @ 317:a9621dbbd0d4
Tests: remove TODOs with 1.3.x version checks.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 23 Jul 2013 20:25:05 +0400 |
parents | a4e46d78ea6d |
children | dc2f8aac0553 |
line wrap: on
line diff
--- a/realip.t +++ b/realip.t @@ -77,10 +77,6 @@ like(http_xff('/1', '192.0.2.1, 10.0.1.1 like(http_xff('/2', '10.0.1.1, 192.0.2.1, 127.0.0.1'), qr/^X-IP: 192.0.2.1/m, 'realip recursive on'); -TODO: { - -local $TODO = 'not yet' unless $t->has_version('1.3.14'); - like(http(<<EOF), qr/^X-IP: 10.0.1.1/m, 'realip multi xff recursive off'); GET /1 HTTP/1.0 Host: localhost @@ -98,8 +94,6 @@ X-Forwarded-For: 127.0.0.1 EOF -} - ############################################################################### sub http_xff {