Hash :
d690d055
Author :
Date :
2023-07-23T01:43:43
fnmatch tests: Add many more test cases. * lib/fnmatch.in.h (GNULIB_defined_fnmatch_function): New macro. * tests/test-fnmatch.c: Add many more test cases. * tests/test-fnmatch-1.sh: New file, based on tests/test-mbrtoc32-5.sh. * tests/test-fnmatch-2.sh: New file, based on tests/test-mbrtoc32-1.sh. * tests/test-fnmatch-3.sh: New file, based on tests/test-mbrtoc32-2.sh. * tests/test-fnmatch-4.sh: New file, based on tests/test-mbrtoc32-3.sh. * tests/test-fnmatch-5.sh: New file, based on tests/test-mbrtoc32-4.sh. * tests/test-fnmatch-w32.c: New file, based on tests/test-mbrtoc32-w32.c and tests/test-fnmatch.c. * tests/test-fnmatch-w32-1.sh: New file, based on tests/test-mbrtoc32-w32-1.sh. * tests/test-fnmatch-w32-2.sh: New file, based on tests/test-mbrtoc32-w32-2.sh. * tests/test-fnmatch-w32-3.sh: New file, based on tests/test-mbrtoc32-w32-3.sh. * tests/test-fnmatch-w32-4.sh: New file, based on tests/test-mbrtoc32-w32-4.sh. * tests/test-fnmatch-w32-5.sh: New file, based on tests/test-mbrtoc32-w32-5.sh. * tests/test-fnmatch-w32-6.sh: New file, based on tests/test-mbrtoc32-w32-6.sh. * tests/test-fnmatch-w32-7.sh: New file, based on tests/test-mbrtoc32-w32-7.sh. * modules/fnmatch-tests: Add the new program and shell scripts.
#!/bin/sh
# Test whether a specific EUC-JP locale is installed.
: "${LOCALE_JA=ja_JP}"
if test $LOCALE_JA = none; then
if test -f /usr/bin/localedef; then
echo "Skipping test: no traditional japanese locale is installed"
else
echo "Skipping test: no traditional japanese locale is supported"
fi
exit 77
fi
LC_ALL=$LOCALE_JA \
${CHECKER} ./test-fnmatch${EXEEXT} 4