]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/config.t
t/config: test --get-urlmatch for git <2.26
[public-inbox.git] / t / config.t
index 99a7fef45793ccc2b5e5e8d10c6eddf2922bb42e..7fb44acceea1b90cdd2505fc2bbb3c75e538be7a 100644 (file)
@@ -234,12 +234,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;