summaryrefslogtreecommitdiff
path: root/t/11_utils.t
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-02-10 20:53:26 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-02-10 20:55:23 -0700
commitd5003c566d49b2c43726dc0575dd934476e5f9a4 (patch)
treecc193a6cffd1a7ec469090c82f820e7ed53c6f4b /t/11_utils.t
parent0e8636ba575c0125437d445d56bab18c393fb331 (diff)
downloadp5-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-xt/11_utils.t3
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");