diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2020-02-10 20:53:26 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2020-02-10 20:55:23 -0700 |
commit | d5003c566d49b2c43726dc0575dd934476e5f9a4 (patch) | |
tree | cc193a6cffd1a7ec469090c82f820e7ed53c6f4b /t/11_utils.t | |
parent | 0e8636ba575c0125437d445d56bab18c393fb331 (diff) | |
download | p5-Git-Annex-d5003c566d49b2c43726dc0575dd934476e5f9a4.tar.gz |
skip most tests when git-annex not available
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 't/11_utils.t')
-rwxr-xr-x | t/11_utils.t | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/t/11_utils.t b/t/11_utils.t index 3d3cb55..3925e0d 100755 --- a/t/11_utils.t +++ b/t/11_utils.t @@ -10,11 +10,14 @@ use Test::More; use Git::Annex; use File::Spec::Functions qw(catfile rel2abs); use t::Setup; +use t::Util; use Storable; use Data::Compare; use File::chdir; use File::Basename qw(basename); +plan skip_all => "git-annex not available" unless git_annex_available; + with_temp_annexes { my $temp = shift; my $annex = Git::Annex->new("source1"); |