]> Sergey Matveev's repositories - public-inbox.git/commitdiff
t/git-http-backend: check BSD::Resource availability
authorEric Wong <e@80x24.org>
Thu, 7 Jul 2016 01:39:35 +0000 (01:39 +0000)
committerEric Wong <e@80x24.org>
Thu, 7 Jul 2016 01:41:02 +0000 (01:41 +0000)
We should not fail tests when this is not available.

t/git-http-backend.t

index e879392341d3de178e272cb482e80ef0afa9b73b..e506e772c60967fb1bc8434ace624bba17daec38 100644 (file)
@@ -12,7 +12,7 @@ use Cwd qw(getcwd);
 
 my $git_dir = $ENV{GIANT_GIT_DIR};
 plan 'skip_all' => 'GIANT_GIT_DIR not defined' unless $git_dir;
-foreach my $mod (qw(Danga::Socket
+foreach my $mod (qw(Danga::Socket BSD::Resource
                        Plack::Util Plack::Builder
                        HTTP::Date HTTP::Status Net::HTTP)) {
        eval "require $mod";