Fix to removed GNU specific bit
authorBrian Aker <brian@tangent.org>
Mon, 3 Dec 2007 03:36:33 +0000 (19:36 -0800)
committerBrian Aker <brian@tangent.org>
Mon, 3 Dec 2007 03:36:33 +0000 (19:36 -0800)
tests/test.c

index 990f15e7483afc02e4dc2d22f79404aa4274ce20..f8cde94ddf5b3ecb8b0a5448b7108f7901ac09ef 100644 (file)
@@ -120,7 +120,7 @@ int main(int argc, char *argv[])
     test_st *run;
 
     run= next->tests;
-    if (collection_to_run && fnmatch(collection_to_run, next->name, FNM_CASEFOLD))
+    if (collection_to_run && fnmatch(collection_to_run, next->name, 0))
       continue;
 
     fprintf(stderr, "\n%s\n\n", next->name);
@@ -132,7 +132,7 @@ int main(int argc, char *argv[])
       memcached_return rc;
       struct timeval start_time, end_time;
 
-      if (wildcard && fnmatch(wildcard, run->name, FNM_CASEFOLD))
+      if (wildcard && fnmatch(wildcard, run->name, 0))
         continue;
 
       fprintf(stderr, "Testing %s", run->name);