summaryrefslogtreecommitdiff
path: root/tests/request.t
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2022-01-11 01:46:59 -0500
committerGlenn Strauss <gstrauss@gluelogic.com>2023-05-03 23:11:34 -0400
commit57d40773c2c299a9038985fb1f73d691a3ceef39 (patch)
tree601c6ae1651b2a04c792f960e679d41dc20a3d0a /tests/request.t
parent58d557219fb1769d42fb45e54ff25d8f6a44214f (diff)
downloadlighttpd-git-57d40773c2c299a9038985fb1f73d691a3ceef39.tar.gz
[tests] _WIN32 adjustments in LightyTest.pm
separate cygwin paths from Windows native paths
Diffstat (limited to 'tests/request.t')
-rwxr-xr-xtests/request.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/request.t b/tests/request.t
index f56a4300..6a2f0075 100755
--- a/tests/request.t
+++ b/tests/request.t
@@ -971,6 +971,7 @@ ok($tf->handle_http($t) == 0, 'lowercase access');
my $docroot = $tf->{'TESTDIR'}."/tmp/lighttpd/servers/www.example.org/pages";
sub init_testbed {
+ return 0 if $tf->{'win32native'}; # win32native lighttpd.exe
return 0 unless eval { symlink("",""); 1 };
my $f = "$docroot/index.html";
my $l = "$docroot/index.xhtml";
@@ -1105,7 +1106,7 @@ $t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 200 } ];
ok($tf->handle_http($t) == 0, 'Basic-Auth: Valid Auth-token - plain');
SKIP: {
- skip "no crypt-des under openbsd", 2 if $^O eq 'openbsd';
+ skip "no crypt-des under openbsd or MS Visual Studio", 2 if $^O eq 'openbsd' || $tf->{'win32native'};
$t->{REQUEST} = ( <<EOF
GET /server-config HTTP/1.0
Host: auth-htpasswd.example.org