4 use System::Introspector::Probe::Groups;
6 my $probe = System::Introspector::Probe::Groups->new;
8 my $result = $probe->gather;
9 ok $result, 'received data';
10 my $data = $result->{groups};
11 ok $data, 'received groups data';
13 ok scalar(keys %$data), 'received group data';
14 ok not(grep { not defined $_->{gid} } values %$data), 'all have gid';
15 ok not(grep { not defined $_->{name} } values %$data), 'all have name';
16 ok not(grep { not defined $_->{users} } values %$data), 'all have users';