From e8a7a7b79a8035bd6a9dc5251cd86461894a5ea5 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Mon, 23 Jan 2012 23:01:03 +1300 Subject: [PATCH] Allow specifying that this test will use Digest authentication. --- testing/dav_test | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/testing/dav_test b/testing/dav_test index 5aa53201..3c3f3ef5 100755 --- a/testing/dav_test +++ b/testing/dav_test @@ -116,6 +116,11 @@ while( ) { @auth = (); }; + $line =~ /^\s*DIGEST\s*(#|$|=)/ && do { + push @arguments, "--digest"; + @auth = ( "--user", $1 ); + }; + $line =~ /^\s*AUTH\s*=\s*(\S.*)$/ && do { @auth = ( "--user", $1 ); };