3 use_ok 'Exim::Runtest';
5 can_ok 'Exim::Runtest', qw(mailgroup);
7 my $group = getgrgid $(;
8 ok $group => 'got a group name';
9 diag "use group $group";
11 is Exim::Runtest::mailgroup($group), $group => 'group names match';
12 ok $group = Exim::Runtest::mailgroup('non existing group') => 'cope with unknown group';
13 diag "got random group: $group";
15 ok getgrnam($group) => 'got an existing group';