X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fpurge.t;h=dcc440390e826f5e04cfd81565610353c9c2e668;hb=0acad050fe38033baedfed83f5976aeabebf3287;hp=db09b731f9cf871d717f6088e7240386c100975a;hpb=fda0f1721b2dc1d2852388473f7da50ff230a3b6;p=public-inbox.git diff --git a/t/purge.t b/t/purge.t index db09b731..dcc44039 100644 --- a/t/purge.t +++ b/t/purge.t @@ -1,15 +1,11 @@ -# Copyright (C) 2019 all contributors +# Copyright (C) 2019-2020 all contributors # License: AGPL-3.0+ use strict; use warnings; use Test::More; -require './t/common.perl'; +use PublicInbox::TestCommon; require_git(2.6); -my @mods = qw(DBI DBD::SQLite); -foreach my $mod (@mods) { - eval "require $mod"; - plan skip_all => "missing $mod for t/purge.t" if $@; -}; +require_mods(qw(DBD::SQLite)); use Cwd qw(abs_path); # we need this since we chdir below local $ENV{HOME} = abs_path('t'); my $purge = abs_path('blib/script/public-inbox-purge');