diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2022-01-11 01:46:59 -0500 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2023-05-03 23:11:34 -0400 |
commit | 57d40773c2c299a9038985fb1f73d691a3ceef39 (patch) | |
tree | 601c6ae1651b2a04c792f960e679d41dc20a3d0a /tests/request.t | |
parent | 58d557219fb1769d42fb45e54ff25d8f6a44214f (diff) | |
download | lighttpd-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-x | tests/request.t | 3 |
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 |