Skip to content

Commit

Permalink
skip test if .cpan/sources/ is owned by other user.
Browse files Browse the repository at this point in the history
  • Loading branch information
tokuhirom committed Jan 16, 2010
1 parent 298364e commit 75764d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions t/01build-perl.t
Expand Up @@ -4,6 +4,9 @@ use warnings;
use Cwd;
use File::Temp qw(tempdir);
use Test::More;
use CPAN::Inject;

plan skip_all => "CPAN::Inject->from_cpan_config() failed: $@." unless eval "CPAN::Inject->from_cpan_config(); 1;";

$| = 1;

Expand Down

0 comments on commit 75764d8

Please sign in to comment.