Mercurial > hg > nginx-tests
comparison http_try_files.t @ 819:3200d5b4ffa8
Tests: removed TODOs for fixes merged in 1.8.1.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 26 Jan 2016 14:36:57 +0300 |
parents | f3b5bee3a14e |
children | e9064d691790 |
comparison
equal
deleted
inserted
replaced
818:685fc620d721 | 819:3200d5b4ffa8 |
---|---|
114 like(http_get('/file-file/'), qr!SEE THIS!, 'file matches file'); | 114 like(http_get('/file-file/'), qr!SEE THIS!, 'file matches file'); |
115 like(http_get('/file-dir/'), qr!404 Not!, 'file does not match dir'); | 115 like(http_get('/file-dir/'), qr!404 Not!, 'file does not match dir'); |
116 like(http_get('/dir-dir/'), qr!301 Moved Permanently!, 'dir matches dir'); | 116 like(http_get('/dir-dir/'), qr!301 Moved Permanently!, 'dir matches dir'); |
117 like(http_get('/dir-file/'), qr!404 Not!, 'dir does not match file'); | 117 like(http_get('/dir-file/'), qr!404 Not!, 'dir does not match file'); |
118 | 118 |
119 SKIP: { | |
120 skip 'leaves coredump', 1 unless $t->has_version('1.9.4') | |
121 or $ENV{TEST_NGINX_UNSAFE}; | |
122 | |
123 like(http_get('/alias-re.html'), qr!SEE THIS!, 'alias in regex location'); | 119 like(http_get('/alias-re.html'), qr!SEE THIS!, 'alias in regex location'); |
124 | |
125 } | |
126 | |
127 TODO: { | |
128 local $TODO = 'not yet' unless $t->has_version('1.9.4'); | |
129 | |
130 like(http_get('/alias-nested/found.html'), qr!SEE THIS!, | 120 like(http_get('/alias-nested/found.html'), qr!SEE THIS!, |
131 'alias with nested location'); | 121 'alias with nested location'); |
132 | 122 |
133 } | |
134 | |
135 ############################################################################### | 123 ############################################################################### |