From 50c822076abee76c3133ffc3482488392eecedfb Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 10 Jan 2019 04:53:10 +0000 Subject: check git version requirements This allows v1 tests to continue working on git 1.8.0 for now. This allows git 2.1.4 packaged with Debian 8 ("jessie") to run old tests, at least. I suppose it's safe to drop Debian 7 ("wheezy") due to our dependency on git 1.8.0 for "merge-base --is-ancestor". Writing V2 repositories requires git 2.6 for "get-mark" support, so mask out tests for older gits. --- t/mda_filter_rubylang.t | 2 ++ 1 file changed, 2 insertions(+) (limited to 't/mda_filter_rubylang.t') diff --git a/t/mda_filter_rubylang.t b/t/mda_filter_rubylang.t index 583a139f..279afaac 100644 --- a/t/mda_filter_rubylang.t +++ b/t/mda_filter_rubylang.t @@ -6,6 +6,8 @@ use Test::More; use File::Temp qw/tempdir/; use PublicInbox::MIME; use PublicInbox::Config; +require './t/common.perl'; +require_git(2.6); my @mods = qw(DBD::SQLite Search::Xapian IPC::Run); foreach my $mod (@mods) { eval "require $mod"; -- cgit v1.2.3-24-ge0c7