lockfile: allow reopening a closed but still locked file
[gitweb.git] / test-wildmatch.c
index a5f4833770ef72379fe6a98c8557a355f3facb82..578b164fe603f11dfe67e25be36a6ab38aa6d645 100644 (file)
@@ -1,5 +1,4 @@
 #include "cache.h"
-#include "wildmatch.h"
 
 int main(int argc, char **argv)
 {
@@ -17,8 +16,6 @@ int main(int argc, char **argv)
                return !!wildmatch(argv[3], argv[2], WM_PATHNAME | WM_CASEFOLD, NULL);
        else if (!strcmp(argv[1], "pathmatch"))
                return !!wildmatch(argv[3], argv[2], 0, NULL);
-       else if (!strcmp(argv[1], "fnmatch"))
-               return !!fnmatch(argv[3], argv[2], FNM_PATHNAME);
        else
                return 1;
 }