comparison h2_server_tokens.t @ 1123:d737d6606504

Tests: fixed server_tokens TODO version in previous change.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 01 Feb 2017 20:07:41 +0300
parents 8c0b0cfe51ef
children 766bcbb632ee
comparison
equal deleted inserted replaced
1122:8c0b0cfe51ef 1123:d737d6606504
107 like(body('/on/404'), $re, 'http2 tokens on 404 body'); 107 like(body('/on/404'), $re, 'http2 tokens on 404 body');
108 108
109 $re = qr/$re \Q($1)\E/ if $t->{_configure_args} =~ /--build=(\S+)/; 109 $re = qr/$re \Q($1)\E/ if $t->{_configure_args} =~ /--build=(\S+)/;
110 110
111 TODO: { 111 TODO: {
112 local $TODO = 'not yet' unless $t->has_version('1.10.10'); 112 local $TODO = 'not yet' unless $t->has_version('1.11.10');
113 113
114 like(header_server('/b/200'), qr/^$re$/, 'http2 tokens build 200'); 114 like(header_server('/b/200'), qr/^$re$/, 'http2 tokens build 200');
115 like(header_server('/b/404'), qr/^$re$/, 'http2 tokens build 404'); 115 like(header_server('/b/404'), qr/^$re$/, 'http2 tokens build 404');
116 like(body('/b/404'), qr/$re/, 'http2 tokens build 404 body'); 116 like(body('/b/404'), qr/$re/, 'http2 tokens build 404 body');
117 117