4 use System::Introspector::Users;
6 my $probe = System::Introspector::Users->new;
7 my $data = $probe->gather;
9 ok((my $user = $data->{ $> }), 'found own user');
10 ok(defined($user->{ $_ }), "$_ is defined")
11 for qw( comment crontab gid groups home shell ssh uid username );
12 ok(not(exists $user->{crontab}{error}), 'no crontab error');
13 ok(not(exists $user->{ssh}{keys}{error}), 'no ssh keys error');