Browse Source

Disable date string parsing test for NO_CACHING.

Christian Mauderer 9 years ago
parent
commit
ad10b1cc98
1 changed files with 2 additions and 2 deletions
  1. 2 2
      test/private.c

+ 2 - 2
test/private.c

@@ -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)
 {