http://bugs.winehq.org/show_bug.cgi?id=22001
Summary: datetime.c test fails when LC_CTYPE="ru_RU.UTF-8" Product: Wine Version: 1.1.40 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: testcases AssignedTo: wine-bugs@winehq.org ReportedBy: b7.10110111@gmail.com
Here's the output:
comctl32_test.exe.so datetime.c && touch datetime.ok datetime.c:679: Test failed: Expected 3/10/2010, got 10.03.2010 make[1]: *** [datetime.ok] Error 1
If i set LC_CTYPE=en_US, the test passes.
Here are my locale settings:
$ locale LANG=en_US LC_CTYPE=ru_RU.UTF-8 LC_NUMERIC="en_US" LC_TIME="en_US" LC_COLLATE="en_US" LC_MONETARY="en_US" LC_MESSAGES="en_US" LC_PAPER="en_US" LC_NAME="en_US" LC_ADDRESS="en_US" LC_TELEPHONE="en_US" LC_MEASUREMENT="en_US" LC_IDENTIFICATION="en_US" LC_ALL=
"3/10/2010" is en_US format, while "10.03.2010" is ru_RU, this means that it's the test bug since it expects a string in other format than LC_CTYPE specifies.