Searched refs:tm_tests (Results 1 – 1 of 1) sorted by relevance
/glibc-2.36/time/ |
D | tst-strptime.c | 85 } tm_tests [] = variable 100 for (i = 0; i < sizeof (tm_tests) / sizeof (tm_tests[0]); ++i) in test_tm() 104 char *ret = strptime (tm_tests[i].input, tm_tests[i].format, &tm); in test_tm() 107 printf ("strptime returned NULL for `%s'\n", tm_tests[i].input); in test_tm() 113 printf ("not all of `%s' read\n", tm_tests[i].input); in test_tm() 120 tm_tests[i].input, tm_tests[i].format, in test_tm() 121 tm_tests[i].output, in test_tm() 122 tm_tests[i].wday, tm_tests[i].yday, in test_tm() 125 if (strcmp (buf, tm_tests[i].output) != 0) in test_tm() 130 if (tm.tm_wday != tm_tests[i].wday) in test_tm() [all …]
|