glibc/tests/Regression/bz819430-fnmatch-fails-when-wildcard-is-applied-on/arf.c
Sergey Kolosov ab4bc8a24e Extend the test coverage
Move some of the RHEL QE testcases upstream to Fedora.
2022-05-31 09:29:27 +02:00

14 lines
260 B
C

/* taken from bugzilla and modified */
#include <fnmatch.h>
#include <locale.h>
int main()
{
int flags = 0;
char *pattern = "*.csv";
char *string = "\366.csv";
setlocale (LC_ALL, "en_US.UTF-8");
return fnmatch (pattern, string, flags);
}