Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Helped MakeMaker finding my new tests

Fixed tests issues
  • Loading branch information...
commit 620f0eaec701941dfedf9650c40160a462fd14b3 1 parent a970b57
@yannk yannk authored gbarr committed
Showing with 6 additions and 3 deletions.
  1. +2 −0  Makefile.PL
  2. +4 −3 t/server/plain.t
View
2  Makefile.PL
@@ -19,4 +19,6 @@ requires 'Digest::MD5' => 0;
requires 'Digest::HMAC_MD5' => 0;
recommends 'GSSAPI' => 0;
+tests_recursive;
+
WriteAll();
View
7 t/server/plain.t
@@ -1,4 +1,6 @@
#!perl
+use strict;
+use warnings;
use Test::More tests => 42;
@@ -23,7 +25,7 @@ my %params = (
my $self = shift;
my ($username, $authzid) = @_;
return unless $username;
- return $creds{$autzid || "default"}{$username};
+ return $creds{$authzid || "default"}{$username};
},
},
);
@@ -35,8 +37,7 @@ is($ssasl->mechanism, 'PLAIN', 'sasl mechanism');
my $server = $ssasl->server_new("ldap","localhost");
is($server->mechanism, 'PLAIN', 'server mechanism');
-for ('', 'none') {
- $authname = $_;
+for my $authname ('', 'none') {
is_failure("");
is_failure("xxx");
is_failure("\0\0\0\0\0\0\0");
Please sign in to comment.
Something went wrong with that request. Please try again.