Mercurial > hg > nginx-tests
comparison h2_server_tokens.t @ 1122:8c0b0cfe51ef
Tests: adjusted server_tokens TODOs.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 01 Feb 2017 20:03:30 +0300 |
parents | c883d3d3a3ab |
children | d737d6606504 |
comparison
equal
deleted
inserted
replaced
1121:c883d3d3a3ab | 1122:8c0b0cfe51ef |
---|---|
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'; | 112 local $TODO = 'not yet' unless $t->has_version('1.10.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 |