changeset 1718:672018971a62

Tests: skip Location header escaping test on win32. On win32, the backslash character ("\") is a path separator.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 30 Jun 2021 10:39:32 +0300
parents 3052d6ea8ff3
children 53a801bf4d0b
files http_absolute_redirect.t
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/http_absolute_redirect.t
+++ b/http_absolute_redirect.t
@@ -167,6 +167,9 @@ like(get('off', '/return301'), qr!Locati
 # %00-%1F, %7F-%FF, " ", """, "<", ">", "\", "^", "`", "{", "|", "}"
 # additionally, all characters in ESCAPE_URI: "?", "%", "#"
 
+SKIP: {
+skip 'win32', 1 if $^O eq 'MSWin32';
+
 TODO: {
 local $TODO = 'not yet' unless $t->has_version('1.21.1');
 
@@ -176,6 +179,8 @@ like(get('off', '/auto%20%22%23%25%3C%3E
 
 }
 
+}
+
 ###############################################################################
 
 sub get {