freebsd-skq/usr.bin/locale/tests/Makefile
yuripv 130f730aba locale: more output fixes
- make abday, day, abmon, mon, am_pm output quoting match linux
- workaround localeconv() issue for mon_grouping and grouping (PR172215)
- for other values not available in default locale, output -1 instead of
  127 (CHAR_MAX) as returned by localeconv()

With these changes, output of `locale` and `locale -k` for all keywords
specified by POSIX exactly matches the linux one.

PR:		237752
Reviewed by:	bapt
Differential Revision:	https://reviews.freebsd.org/D21599
2019-09-11 15:39:28 +00:00

17 lines
430 B
Makefile

# $FreeBSD$
PACKAGE= tests
ATF_TESTS_SH= locale_test
${PACKAGE}FILES+= k_flag_posix_monetary.out
${PACKAGE}FILES+= k_flag_posix_numeric.out
${PACKAGE}FILES+= k_flag_posix_time.out
${PACKAGE}FILES+= k_flag_posix_messages.out
${PACKAGE}FILES+= no_flags_posix_monetary.out
${PACKAGE}FILES+= no_flags_posix_numeric.out
${PACKAGE}FILES+= no_flags_posix_time.out
${PACKAGE}FILES+= no_flags_posix_messages.out
.include <bsd.test.mk>