From 0c6a6d06c6d2fe71ed5bdfc6d61ea87a13fcf819 Mon Sep 17 00:00:00 2001 From: Glenn Strauss Date: Sat, 26 Dec 2020 03:47:02 -0500 Subject: [tests] OpenBSD crypt() support limited to bcrypt OpenBSD crypt() does not support (insecure) crypt-des or crypt-md5 (The password used in the tests and lighttpd.htpasswd is crypt-des. Something else could be used so that the tests can execute, though that something might be different on different platforms.) --- tests/mod-fastcgi.t | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/mod-fastcgi.t') diff --git a/tests/mod-fastcgi.t b/tests/mod-fastcgi.t index 0e7ae4a8..8bf846be 100755 --- a/tests/mod-fastcgi.t +++ b/tests/mod-fastcgi.t @@ -75,6 +75,9 @@ EOF $t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 200 , 'HTTP-Content' => '' } ]; ok($tf->handle_http($t) == 0, 'FastCGI + bin-copy-environment'); +SKIP: { + skip "no crypt-des under openbsd", 2 if $^O eq 'openbsd'; + $t->{REQUEST} = ( <{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 200, 'HTTP-Content' => 'Basic' } ]; ok($tf->handle_http($t) == 0, '$_SERVER["AUTH_TYPE"]'); +} $t->{REQUEST} = ( <