Allow specifying that this test will use Digest authentication.

This commit is contained in:
Andrew McMillan 2012-01-23 23:01:03 +13:00
parent 5b6d708ba4
commit e8a7a7b79a

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 );
};