Jeff Smith : msvcrt: Add _Strftime tests for seconds.
Alexandre Julliard
julliard at winehq.org
Thu Nov 21 16:33:27 CST 2019
Module: wine
Branch: master
Commit: 84879eb377e0dc5d175122a21dce4073a3668317
URL: https://source.winehq.org/git/wine.git/?a=commit;h=84879eb377e0dc5d175122a21dce4073a3668317
Author: Jeff Smith <whydoubt at gmail.com>
Date: Thu Nov 21 07:04:18 2019 -0600
msvcrt: Add _Strftime tests for seconds.
Signed-off-by: Jeff Smith <whydoubt at gmail.com>
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/msvcrt/tests/time.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dlls/msvcrt/tests/time.c b/dlls/msvcrt/tests/time.c
index 5df8951c15..e53083c561 100644
--- a/dlls/msvcrt/tests/time.c
+++ b/dlls/msvcrt/tests/time.c
@@ -678,6 +678,9 @@ static void test_strftime(void)
{ "%X", "0", 0, 0, "m", { 0, 0, 0, 1, 0, 70, 0, 0, 0 }},
{ "%X", "00", 0, 0, "mm", { 0, 0, 0, 1, 0, 70, 0, 0, 0 }},
{ "%X", "m00", 0, 0, "mmm", { 0, 0, 0, 1, 0, 70, 0, 0, 0 }, TRUE},
+ { "%X", "0", 0, 0, "s", { 0, 0, 0, 1, 0, 70, 0, 0, 0 }},
+ { "%X", "00", 0, 0, "ss", { 0, 0, 0, 1, 0, 70, 0, 0, 0 }},
+ { "%X", "s00", 0, 0, "sss", { 0, 0, 0, 1, 0, 70, 0, 0, 0 }, TRUE},
{ "%X", "t", 0, 0, "t", { 0, 0, 0, 1, 0, 70, 0, 0, 0 }, TRUE},
{ "%X", "tam", 0, 0, "tt", { 0, 0, 0, 1, 0, 70, 0, 0, 0 }, TRUE},
{ "%X", "tam", 0, 0, "ttttttttt", { 0, 0, 0, 1, 0, 70, 0, 0, 0 }, TRUE},
More information about the wine-cvs
mailing list