diff --git a/unit_tests/check_parser_utils.c b/unit_tests/check_parser_utils.c index e457e78..0f98f9c 100644 --- a/unit_tests/check_parser_utils.c +++ b/unit_tests/check_parser_utils.c @@ -24,9 +24,6 @@ static void test_parse_date_header(){ unsigned int i; - //time_t t = time(NULL); - //int dst_fix = 0; - //struct tm lt = {0}; struct config cfg; struct date_test date_test[] = { {"Date: Mon, 02 Nov 2015 09:39:31 -0000", 1446457171}, @@ -48,19 +45,10 @@ setlocale(LC_MESSAGES, cfg.locale); setlocale(LC_CTYPE, cfg.locale); - /*localtime_r(&t, <); - if(lt.tm_isdst == 1){ - printf("DST is on\n"); - dst_fix = 3600; - } - else { - printf("DST is off\n"); - }*/ - TEST_HEADER(); for(i=0; i