Skip to content

Commit ae503d6

Browse files
committed
[MSVCRT_WINETEST] Sync with Wine Staging 1.9.18.
svn path=/trunk/; revision=72612
1 parent 89932f2 commit ae503d6

File tree

1 file changed

+10
-0
lines changed
  • rostests/winetests/msvcrt

1 file changed

+10
-0
lines changed

rostests/winetests/msvcrt/time.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -746,6 +746,16 @@ static void test_strftime(void)
746746
ok(retA == 17, "expected 17, got %ld\n", retA);
747747
ok(!strcmp(bufA, "02/30/70 00:00:00"), "got %s\n", bufA);
748748
}
749+
750+
if(!setlocale(LC_ALL, "Japanese_Japan.932")) {
751+
win_skip("Japanese_Japan.932 locale not available\n");
752+
return;
753+
}
754+
755+
/* test with multibyte character */
756+
retA = strftime(bufA, 256, "\x82%c", gmt_tm);
757+
ok(retA == 3, "expected 3, got %ld\n", retA);
758+
ok(!strcmp(bufA, "\x82%c"), "got %s\n", bufA);
749759
}
750760

751761
static void test_asctime(void)

0 commit comments

Comments
 (0)