X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fmsgmap.t;h=197b0e554c297be0a76bce6e2b8140864088ff5c;hb=ae469c583c2ddea48b5923af5986753251bf14ca;hp=7fcd131afd8889d866844b74180b7821ec093fd5;hpb=ad6f26f3b9f0e428020d05667987556f8fcbec2f;p=public-inbox.git diff --git a/t/msgmap.t b/t/msgmap.t index 7fcd131a..197b0e55 100644 --- a/t/msgmap.t +++ b/t/msgmap.t @@ -3,13 +3,8 @@ use strict; use warnings; use Test::More; -require './t/common.perl'; - -foreach my $mod (qw(DBD::SQLite)) { - eval "require $mod"; - plan skip_all => "$mod missing for nntpd.t" if $@; -} - +use PublicInbox::TestCommon; +require_mods('DBD::SQLite'); use_ok 'PublicInbox::Msgmap'; my ($tmpdir, $for_destroy) = tmpdir(); my $d = PublicInbox::Msgmap->new($tmpdir, 1);