projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89932f2
)
[MSVCRT_WINETEST] Sync with Wine Staging 1.9.18.
author
Amine Khaldi
<amine.khaldi@reactos.org>
Wed, 7 Sep 2016 22:34:15 +0000
(22:34 +0000)
committer
Amine Khaldi
<amine.khaldi@reactos.org>
Wed, 7 Sep 2016 22:34:15 +0000
(22:34 +0000)
svn path=/trunk/; revision=72612
rostests/winetests/msvcrt/time.c
patch
|
blob
|
history
diff --git
a/rostests/winetests/msvcrt/time.c
b/rostests/winetests/msvcrt/time.c
index
e26648d
..
6865e3d
100644
(file)
--- a/
rostests/winetests/msvcrt/time.c
+++ b/
rostests/winetests/msvcrt/time.c
@@
-746,6
+746,16
@@
static void test_strftime(void)
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)