t_clock_subr.c | 52 } const clock_tests[] = { variable in typeref:struct:clock_test const[] 265 for (i = 0; i < __arraycount(clock_tests); i++) { 266 secs = clock_ymdhms_to_secs(__UNCONST(&clock_tests[i].clock)); 267 ATF_CHECK_EQ_MSG(clock_tests[i].time, secs, "%jd != %jd", 268 (intmax_t)clock_tests[i].time, (intmax_t)secs); 284 ATF_CHECK_EQ_MSG(ymdhms.dt_##f, clock_tests[i].clock.dt_##f, \ 286 (intmax_t)clock_tests[i].clock.dt_##f, \ 287 (intmax_t)clock_tests[i].time) 289 for (i = 0; i < __arraycount(clock_tests); i++) { 290 clock_secs_to_ymdhms(clock_tests[i].time, &ymdhms) [all...] |