changeset 1223:56e7da831f46

Tests: http_disable_symlinks.t fails on NetBSD. See http://gnats.netbsd.org/43154 for details.
author Sergey Kandaurov <pluknet@nginx.com>
date Fri, 29 Sep 2017 17:12:48 +0300
parents 75a83f36cff0
children 2ec9ce1bc820
files http_disable_symlinks.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/http_disable_symlinks.t
+++ b/http_disable_symlinks.t
@@ -209,7 +209,7 @@ symlink($extfile, "$d/cached/link");
 ###############################################################################
 
 SKIP: {
-skip 'cannot test under symlink', 25 if $d ne realpath($d);
+skip 'cannot test under symlink', 25 if $d ne realpath($d) or $^O eq 'netbsd';
 
 like(http_get_host('s1', '/link'), qr!200 OK!, 'static (off, same uid)');
 like(http_get_host('s1', '/link2'), qr!200 OK!, 'static (off, other uid)');