Author: akhaldi
Date: Wed Sep 7 22:34:15 2016
New Revision: 72612
URL:
http://svn.reactos.org/svn/reactos?rev=72612&view=rev
Log:
[MSVCRT_WINETEST] Sync with Wine Staging 1.9.18.
Modified:
trunk/rostests/winetests/msvcrt/time.c
Modified: trunk/rostests/winetests/msvcrt/time.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/msvcrt/time.c?r…
==============================================================================
--- trunk/rostests/winetests/msvcrt/time.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/msvcrt/time.c [iso-8859-1] Wed Sep 7 22:34:15 2016
@@ -746,6 +746,16 @@
ok(retA == 17, "expected 17, got %ld\n", retA);
ok(!strcmp(bufA, "02/30/70 00:00:00"), "got %s\n", bufA);
}
+
+ if(!setlocale(LC_ALL, "Japanese_Japan.932")) {
+ win_skip("Japanese_Japan.932 locale not available\n");
+ return;
+ }
+
+ /* test with multibyte character */
+ retA = strftime(bufA, 256, "\x82%c", gmt_tm);
+ ok(retA == 3, "expected 3, got %ld\n", retA);
+ ok(!strcmp(bufA, "\x82%c"), "got %s\n", bufA);
}
static void test_asctime(void)