changeset 657:68a95e3195f1

Tests: try_files TODO adjusted.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 20 Aug 2015 20:07:47 +0300
parents 1b672b5db78a
children b9eb462d8973
files http_try_files.t
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/http_try_files.t
+++ b/http_try_files.t
@@ -110,7 +110,8 @@ like(http_get('/dir-dir/'), qr!301 Moved
 like(http_get('/dir-file/'), qr!404 Not!, 'dir does not match file');
 
 SKIP: {
-skip 'leaves coredump', 1 unless $ENV{TEST_NGINX_UNSAFE};
+skip 'leaves coredump', 1 unless $t->has_version('1.9.4')
+	or $ENV{TEST_NGINX_UNSAFE};
 
 like(http_get('/alias_re.html'), qr!SEE THIS!, 'alias in regex location');