1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-09-11 21:30:45 +03:00

Disable date string parsing test for NO_CACHING.

This commit is contained in:
Christian Mauderer
2016-05-04 22:27:48 +02:00
parent ab9e167922
commit ad10b1cc98

View File

@@ -533,9 +533,9 @@ START_TEST(test_mask_data)
}
END_TEST
START_TEST(test_parse_date_string)
{
#if !defined(NO_CACHING)
time_t now = time(0);
struct tm *tm = gmtime(&now);
char date[64] = {0};
@@ -581,10 +581,10 @@ START_TEST(test_parse_date_string)
tm->tm_sec);
ck_assert_uint_eq((uintmax_t)parse_date_string(date), (uintmax_t)now);
}
#endif
}
END_TEST
Suite *
make_private_suite(void)
{