{ printf ("%s %s %s\n", tests[i].pattern, match == 0 ? "matches" : "does not match", tests[i].name); errors++; }
++errors ;
main (void){  size_t i;  int errors = 0;  for (i = 0; i < sizeof (tests) / sizeof (*tests); i++)    {      int match;      match = fnmatch (tests[i].pattern, tests[i].name, tests[i].flags);      if (match != tests[i].expected)	{	  printf ("%s %s %s\n", tests[i].pattern,		  match == 0 ? "matches" : "does not match",		  tests[i].name);	  errors++;	}    }  exit (errors != 0);}