comparison rewrite_set.t @ 455:a65cb9330c91

Tests: adjusted resolver and rewrite TODOs.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 28 Aug 2014 12:41:11 +0400
parents 29ee0d2b0746
children 907e89fba9c3
comparison
equal deleted inserted replaced
454:11d324ee4def 455:a65cb9330c91
74 ############################################################################### 74 ###############################################################################
75 75
76 # prefixed variables 76 # prefixed variables
77 77
78 TODO: { 78 TODO: {
79 local $TODO = 'not yet'; 79 local $TODO = 'not yet' unless $t->has_version('1.7.5');
80 80
81 SKIP: { 81 SKIP: {
82 skip 'leaves coredump', 2 unless $ENV{TEST_NGINX_UNSAFE}; 82 skip 'leaves coredump', 2 unless $t->has_version('1.7.5')
83 or $ENV{TEST_NGINX_UNSAFE};
83 84
84 like(http_get_extra('/t1.html', 'Foo: http_foo'), qr/Xset_fooX/, 85 like(http_get_extra('/t1.html', 'Foo: http_foo'), qr/Xset_fooX/,
85 'set in this context'); 86 'set in this context');
86 like(http_get_extra('/t2.html', 'Bar: http_bar'), qr/Xhttp_barX/, 87 like(http_get_extra('/t2.html', 'Bar: http_bar'), qr/Xhttp_barX/,
87 'set in other context'); 88 'set in other context');