1 /* Note: we disable this on uClibc because we dont bother
2 * verifying if the year is sane ... we just return ????
3 * for the year value ...
16 time_t t = time (NULL);
17 struct tm *tp = localtime (&t);
18 tp->tm_year = 10000 - 1900;
22 char *s = asctime_r (tp, buf);
23 if (s != NULL || errno != EOVERFLOW)
25 puts ("asctime_r did not fail correctly");
28 if (buf[26] != '\xff')
30 puts ("asctime_r overwrote 27th byte in buffer");
36 #define TEST_FUNCTION do_test ()
37 #include "../test-skeleton.c"