Searched refs:clock_tests (Results 1 - 1 of 1) sorted by relevance

/freebsd-13-stable/contrib/netbsd-tests/dev/clock_subr/
H A Dt_clock_subr.c52 } const clock_tests[] = { variable
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[
[all...]

Completed in 81 milliseconds