]> git.ipfire.org Git - thirdparty/git.git/blob - t/helper/test-pcre2-config.c
The fifth batch
[thirdparty/git.git] / t / helper / test-pcre2-config.c
1 #include "test-tool.h"
2 #include "grep.h"
3
4 int cmd__pcre2_config(int argc, const char **argv)
5 {
6 if (argc == 2 && !strcmp(argv[1], "has-PCRE2_MATCH_INVALID_UTF")) {
7 int value = PCRE2_MATCH_INVALID_UTF;
8 return !value;
9 }
10 return 1;
11 }