comparison realip_remote_addr.t @ 1020:196d33c2bb45

Tests: removed TODO and try_run() checks for legacy versions. Also removed now unused spdy.t and shmem prerequisite.
author Andrey Zelenkov <zelenkov@nginx.com>
date Wed, 31 Aug 2016 18:21:07 +0300
parents 882267679006
children 9b8e13e2ee67
comparison
equal deleted inserted replaced
1019:41139d6f8b7b 1020:196d33c2bb45
52 52
53 EOF 53 EOF
54 54
55 $t->write_file('index.html', ''); 55 $t->write_file('index.html', '');
56 $t->write_file('1', ''); 56 $t->write_file('1', '');
57 $t->try_run('no realip_remote_addr'); 57 $t->run();
58 58
59 plan(skip_all => 'no 127.0.0.1 on host') 59 plan(skip_all => 'no 127.0.0.1 on host')
60 if http_get('/') !~ /X-IP: 127.0.0.1/m; 60 if http_get('/') !~ /X-IP: 127.0.0.1/m;
61 61
62 $t->plan(4); 62 $t->plan(4);