restore test
This commit is contained in:
@@ -70,6 +70,12 @@ int main (void)
|
|||||||
fails++;
|
fails++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tm = localtime(NULL);
|
||||||
|
if (tm != NULL) {
|
||||||
|
printf("localtime should return NULL with a NULL parameter\n");
|
||||||
|
fails++;
|
||||||
|
}
|
||||||
|
|
||||||
/* Verify conversion both ways */
|
/* Verify conversion both ways */
|
||||||
for (i = 0; ; i++) {
|
for (i = 0; ; i++) {
|
||||||
time_t t = data[i].t;
|
time_t t = data[i].t;
|
||||||
|
|||||||
Reference in New Issue
Block a user