comparison realip_hostname.t @ 1381:97c8280de681

Tests: removed TODO and try_run() checks for legacy versions.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 08 Oct 2018 15:30:39 +0300
parents eaa92d810bbb
children
comparison
equal deleted inserted replaced
1380:f50c7d90f5c9 1381:97c8280de681
65 65
66 EOF 66 EOF
67 67
68 $t->write_file('1', ''); 68 $t->write_file('1', '');
69 $t->write_file('2', ''); 69 $t->write_file('2', '');
70 $t->try_run('no realip hostnames support'); 70 $t->run();
71 71
72 plan(skip_all => 'no 127.0.0.1 on host') 72 plan(skip_all => 'no 127.0.0.1 on host')
73 if http_get('/1') !~ /X-IP: 127.0.0.1/m; 73 if http_get('/1') !~ /X-IP: 127.0.0.1/m;
74 74
75 $t->plan(4); 75 $t->plan(4);