2 * PROJECT: ReactOS CRT regression tests
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: rostests/regtests/crt/time.c
5 * PURPOSE: Tests for time functions of the CRT
6 * PROGRAMMERS: Gregor Schneider
11 #include <wine/test.h>
18 char explowtime
[] = "Mon Jun 04 00:30:20 1909\n"; /* XP's crt returns new line after the string */
29 timestr
= asctime(&time
);
30 ok(!strcmp(timestr
, explowtime
), "Wrong time returned, got %s\n", timestr
);
35 /* Test border ctime cases */
38 ok(ctime(&time
) == NULL
, "ctime doesn't return NULL for invalid parameters\n");
40 ok(ctime(&time
) == NULL
, "ctime doesn't return NULL for invalid parameters\n");