Mercurial > hg > nginx-tests
comparison realip_remote_port.t @ 1047:ef795982f940
Tests: skip certain tests for lack of inet6 support as well.
author | Andrey Zelenkov <zelenkov@nginx.com> |
---|---|
date | Wed, 05 Oct 2016 15:21:58 +0300 |
parents | 882267679006 |
children |
comparison
equal
deleted
inserted
replaced
1046:a04323ab0622 | 1047:ef795982f940 |
---|---|
75 | 75 |
76 EOF | 76 EOF |
77 | 77 |
78 $t->write_file('index.html', ''); | 78 $t->write_file('index.html', ''); |
79 $t->write_file('log', ''); | 79 $t->write_file('log', ''); |
80 $t->try_run('no realip_remote_port')->plan(8); | 80 $t->try_run('no realip_remote_port and/or inet6 support')->plan(8); |
81 | 81 |
82 ############################################################################### | 82 ############################################################################### |
83 | 83 |
84 my ($sp, $data) = sp_get('/log'); | 84 my ($sp, $data) = sp_get('/log'); |
85 like($data, qr/X-Port: $sp/, 'realip port'); | 85 like($data, qr/X-Port: $sp/, 'realip port'); |