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