about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-06-27 10:03:52 +0000
committerEric Wong <e@yhbt.net>2020-06-28 22:27:28 +0000
commitb82d2eed5248d7e80cae5bfdf418a563ebfba3af (patch)
tree5df700a061c55f83bd0bdd9e84083eefce040340 /t
parent204e451851dfe510e16cc03e4a6ea6242c4e9076 (diff)
downloadpublic-inbox-b82d2eed5248d7e80cae5bfdf418a563ebfba3af.tar.gz
watch: just use ->urlmatch
We may just modify PublicInbox::Config->urlmatch in the future
to support git <1.8.5, but I wonder if there's enough users on
git <1.8.5 to justify it.
Diffstat (limited to 't')
-rw-r--r--t/imapd.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/imapd.t b/t/imapd.t
index 5626d247..cf327e9f 100644
--- a/t/imapd.t
+++ b/t/imapd.t
@@ -440,9 +440,11 @@ ok($mic->logout, 'logged out');
         like(<$c>, qr/\Atagonly BAD Error in IMAP command/, 'tag-only line');
 }
 
-{
+SKIP: {
         use_ok 'PublicInbox::WatchMaildir';
         use_ok 'PublicInbox::InboxIdle';
+        require_git('1.8.5', 1) or
+                skip('git 1.8.5+ needed for --urlmatch', 4);
         my $old_env = { HOME => $ENV{HOME} };
         my $home = "$tmpdir/watch_home";
         mkdir $home or BAIL_OUT $!;