Mercurial > hg > nginx-tests
comparison http_try_files.t @ 657:68a95e3195f1
Tests: try_files TODO adjusted.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 20 Aug 2015 20:07:47 +0300 |
parents | bc91b86a71ee |
children | b9eb462d8973 |
comparison
equal
deleted
inserted
replaced
656:1b672b5db78a | 657:68a95e3195f1 |
---|---|
108 like(http_get('/file-dir/'), qr!404 Not!, 'file does not match dir'); | 108 like(http_get('/file-dir/'), qr!404 Not!, 'file does not match dir'); |
109 like(http_get('/dir-dir/'), qr!301 Moved Permanently!, 'dir matches dir'); | 109 like(http_get('/dir-dir/'), qr!301 Moved Permanently!, 'dir matches dir'); |
110 like(http_get('/dir-file/'), qr!404 Not!, 'dir does not match file'); | 110 like(http_get('/dir-file/'), qr!404 Not!, 'dir does not match file'); |
111 | 111 |
112 SKIP: { | 112 SKIP: { |
113 skip 'leaves coredump', 1 unless $ENV{TEST_NGINX_UNSAFE}; | 113 skip 'leaves coredump', 1 unless $t->has_version('1.9.4') |
114 or $ENV{TEST_NGINX_UNSAFE}; | |
114 | 115 |
115 like(http_get('/alias_re.html'), qr!SEE THIS!, 'alias in regex location'); | 116 like(http_get('/alias_re.html'), qr!SEE THIS!, 'alias in regex location'); |
116 | 117 |
117 } | 118 } |
118 | 119 |