On 02/26/13 23:57, André Hentschel wrote:
diff --git a/dlls/msvcrt/tests/time.c b/dlls/msvcrt/tests/time.c index 30d9fa7..3d00769 100644 --- a/dlls/msvcrt/tests/time.c +++ b/dlls/msvcrt/tests/time.c @@ -181,8 +181,8 @@ static void test_gmtime(void) err = p_gmtime32_s(&gmt_tm_s, &gmt);
- ok(gmt_tm_s.tm_year==-1 || broken(gmt_tm_s.tm_year==70 && gmt_tm->tm_sec<0),
"tm_year = %d\n", gmt_tm_s.tm_year);
- ok(gmt_tm_s.tm_year==-1 || broken(gmt_tm_s.tm_year==70),
"tm_year = %d, tm_sec = %d\n", gmt_tm_s.tm_year, gmt_tm->tm_sec);
This test was checking wrong structure. It should use gmt_tm_s struct for testing seconds instead of gmt_tm.