Testsuite: README for t/
[exim.git] / test / t / 00-basic.t
CommitLineData
acda7677
HSHR
1use Test::More;
2use lib 'lib';
3use_ok 'Exim::Runtest';
4
5can_ok 'Exim::Runtest', qw(mailgroup);
6
7my $group = getgrgid $(;
8ok $group => 'got a group name';
9diag "use group $group";
10
11is Exim::Runtest::mailgroup($group), $group => 'group names match';
12ok $group = Exim::Runtest::mailgroup('non existing group') => 'cope with unknown group';
13diag "got random group: $group";
14
15ok getgrnam($group) => 'got an existing group';
16
17
18
19done_testing;