Commits

Marcin Kasperski committed d627e0a

Bugfix for invalid attribute name and failures like
http://www.cpantesters.org/cpan/report/6cfd0882-3876-11e2-b143-6f392f08a87b

Comments (0)

Files changed (2)

lib/Passwd/Keyring/OSXKeychain.pm

     };
     bless $self;
 
-    unless( -x $self->{security_prog} ) {
-        croak("OSXKeychain not available: security program $self->{security_prog} is missing");
+    unless( -x $self->{security} ) {
+        croak("OSXKeychain not available: security program $self->{security} is missing");
     }
     if($self->{keychain}) {
         # Add .keychain suffix if missing
 # if specified
 sub _make_sys_args {
     my ($self, @args) = @_;
-    unshift @args, $self->{security_prog};
+    unshift @args, $self->{security};
     push @args, $self->{keychain} if $self->{keychain};
     return @args;
 }
 }
 
 diag( "Testing Passwd::Keyring::OSXKeychain $Passwd::Keyring::OSXKeychain::VERSION, Perl $], $^X" );
-diag( "Consider spawning  seahorse  and checking whether all passwords are properly wiped after tests" );
+#diag( "Consider spawning  GUI  and checking whether all passwords are properly wiped after tests" );