diff --git a/test/gmdifftest.c b/test/gmdifftest.c index 0d9b71a5c0..028816f6de 100644 --- a/test/gmdifftest.c +++ b/test/gmdifftest.c @@ -49,10 +49,12 @@ static int check_time(long offset) static int test_gmtime(int offset) { - return check_time(offset) && - check_time(-offset) && - check_time(offset * 1000L) && - check_time(-offset * 1000L); + return check_time(offset) + && check_time(-offset) + && check_time(offset * 1000L) + && check_time(-offset * 1000L) + && check_time(offset * 1000000L) + && check_time(-offset * 1000000L); } int setup_tests(void) @@ -60,6 +62,6 @@ int setup_tests(void) if (sizeof(time_t) < 8) TEST_info("Skipping; time_t is less than 64-bits"); else - ADD_ALL_TESTS_NOSUBTEST(test_gmtime, 1000000); + ADD_ALL_TESTS_NOSUBTEST(test_gmtime, 1000); return 1; }