diff options
author | Eric Wong <e@80x24.org> | 2020-12-26 12:30:35 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2020-12-26 20:20:13 +0000 |
commit | e16e09b239b4d8bfd975e5d15be520f01c5da1f6 (patch) | |
tree | f2f46b83ea28469b10f538a2f6a1af24bc8f2737 | |
parent | 933fce93167eba8645e637c363561575db9f9420 (diff) | |
download | public-inbox-e16e09b239b4d8bfd975e5d15be520f01c5da1f6.tar.gz |
t/config: test --get-urlmatch for git <2.26
While git 1.8.5 learned --get-urlmatch, git did not learn to match URLs against wildcards until 2.26. So only depend on 1.8.5 for this test since 2.26 is too new. Reported-by: Ali Alnubani <alialnu@nvidia.com> Link: https://public-inbox.org/meta/DM6PR12MB49106F8E3BD697B63B943A22DADB0@DM6PR12MB4910.namprd12.prod.outlook.com/ Tested-by: Ali Alnubani <alialnu@nvidia.com> (cherry picked from commit 382a2bdd54cfb6c28a935c2b9fe4f1b1c2f469c4)
-rw-r--r-- | t/config.t | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -236,12 +236,13 @@ EOF } SKIP: { + # XXX wildcard match requires git 2.26+ require_git('1.8.5', 2) or skip 'git 1.8.5+ required for --url-match', 2; my $f = "$tmpdir/urlmatch"; open my $fh, '>', $f or BAIL_OUT $!; print $fh <<EOF or BAIL_OUT $!; -[imap "imap://*.example.com"] +[imap "imap://mail.example.com"] pollInterval = 9 EOF close $fh or BAIL_OUT; |