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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user