diff --git a/tests/mod-auth.t b/tests/mod-auth.t index 55719b11..32fc443b 100755 --- a/tests/mod-auth.t +++ b/tests/mod-auth.t @@ -48,6 +48,8 @@ EOF $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'; $t->{REQUEST} = ( <{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 200 } ]; ok($tf->handle_http($t) == 0, 'Basic-Auth: Valid Auth-token - htpasswd (des) (lowercase)'); +} $t->{REQUEST} = ( <handle_http($t) == 0, 'Basic-Auth: Valid Auth-token - htpasswd (apr-md5, SKIP: { skip "no crypt-md5 under cygwin", 1 if $^O eq 'cygwin'; skip "no crypt-md5 under darwin", 1 if $^O eq 'darwin'; + skip "no crypt-md5 under openbsd",1 if $^O eq 'openbsd'; $t->{REQUEST} = ( <