Allow specifying that this test will use Digest authentication.

This commit is contained in:
Andrew McMillan committed 2012-01-30 22:25:03 -08:00
1 parent 5b6d708ba4
commit e8a7a7b79a
1 file changed
+5
+5
View File
@@ -116,6 +116,11 @@ while( <TEST> ) {
@auth = ();
};
$line =~ /^\s*DIGEST\s*(#|$|=)/ && do {
push @arguments, "--digest";
@auth = ( "--user", $1 );
};
$line =~ /^\s*AUTH\s*=\s*(\S.*)$/ && do {
@auth = ( "--user", $1 );
};