view modules/mbscasestr-tests @ 10186:bef6a09c05f1

utimens.c: correct kernel bug work-around Ondřej Vašík found that the invalid return value of 280 indicates failure, not success, and the kernel bug we're trying to work around affects not just the utimensat call, but also the fallback futimens call. * lib/utimens.c (gl_futimens) [HAVE_UTIMENSAT]: Simulate failure, not success. [HAVE_FUTIMENS]: Use the same work-around, here.
author Jim Meyering <meyering@redhat.com>
date Fri, 06 Jun 2008 18:20:14 +0200
parents afba4e078ebc
children a48d3d749ca5
line wrap: on
line source

Files:
tests/test-mbscasestr1.c
tests/test-mbscasestr2.sh
tests/test-mbscasestr2.c
tests/test-mbscasestr3.sh
tests/test-mbscasestr3.c
tests/test-mbscasestr4.sh
tests/test-mbscasestr4.c
m4/locale-fr.m4
m4/locale-tr.m4
m4/locale-zh.m4
m4/codeset.m4

Depends-on:

configure.ac:
gt_LOCALE_FR_UTF8
gt_LOCALE_TR_UTF8
gt_LOCALE_ZH_CN

Makefile.am:
TESTS += test-mbscasestr1 test-mbscasestr2.sh test-mbscasestr3.sh test-mbscasestr4.sh
TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@' LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' LOCALE_TR_UTF8='@LOCALE_TR_UTF8@' LOCALE_ZH_CN='@LOCALE_ZH_CN@'
check_PROGRAMS += test-mbscasestr1 test-mbscasestr2 test-mbscasestr3 test-mbscasestr4