Project

General

Profile

0003-mod-auth.t-no-crypt-md5-for-darwin_patch.txt

mackyle, 2015-12-03 22:38

 
1
From 17483fab8ac843ee046a6fcd8e7c4bb170d20687 Mon Sep 17 00:00:00 2001
2
From: "Kyle J. McKay" <mackyle@gmail.com>
3
Date: Thu, 3 Dec 2015 11:20:31 -0800
4
Subject: [PATCH] mod-auth.t: no crypt md5 for darwin
5

    
6
Darwin's crypt does not support the '$...' extensions.
7

    
8
Signed-off-by: Kyle J. McKay
9
---
10
 tests/mod-auth.t | 1 +
11
 1 file changed, 1 insertion(+)
12

    
13
diff --git a/tests/mod-auth.t b/tests/mod-auth.t
14
index e070df10..576ee4eb 100755
15
--- a/tests/mod-auth.t
16
+++ b/tests/mod-auth.t
17
@@ -86,6 +86,7 @@ ok($tf->handle_http($t) == 0, 'Basic-Auth: Valid Auth-token - htpasswd (sha, wro
18
 
19
 SKIP: {
20
 	skip "no md5 for crypt under cygwin", 1 if $^O eq 'cygwin';
21
+	skip "no md5 for crypt under darwin", 1 if $^O eq 'darwin';
22
 $t->{REQUEST}  = ( <<EOF
23
 GET /server-config HTTP/1.0
24
 Host: auth-htpasswd.example.org
25
-- 
26
2.4.10
27