Loading tests/unit/unit1399.c +5 −1 Original line number Diff line number Diff line Loading @@ -39,7 +39,11 @@ static void unit_stop(void) static bool usec_matches_seconds(time_t time_usec, int expected_seconds) { int time_sec = (int)(time_usec / usec_magnitude); return time_sec == expected_seconds; bool same = (time_sec == expected_seconds); fprintf(stderr, "is %d us same as %d seconds? %s\n", (int)time_usec, expected_seconds, same?"Yes":"No"); return same; } UNITTEST_START Loading Loading
tests/unit/unit1399.c +5 −1 Original line number Diff line number Diff line Loading @@ -39,7 +39,11 @@ static void unit_stop(void) static bool usec_matches_seconds(time_t time_usec, int expected_seconds) { int time_sec = (int)(time_usec / usec_magnitude); return time_sec == expected_seconds; bool same = (time_sec == expected_seconds); fprintf(stderr, "is %d us same as %d seconds? %s\n", (int)time_usec, expected_seconds, same?"Yes":"No"); return same; } UNITTEST_START Loading