ttail_init_set_date_relative tests #20

Closed
opened 2018-08-22 01:35:48 +02:00 by maxime-alves · 1 comment

they do not pass


Running suite(s): ttail relative date checks
'foobar' is not a relative date
'foobar' is not a relative date
'%d' is not a relative date
'%d' is not a relative date
Invalid relative date '#-1f'
Invalid relative date '#-1f'
Invalid relative date '#-1dour'
Invalid relative date '#-1dour'
No value found in format '#-h'
No value found in format '#-h'
'-1h' is not a relative date
'-1h' is not a relative date
Invalid relative date '#-1h3m'
Invalid relative date '#-1h3m'
Bad relative format '#--1hour'
Bad relative format '#--1hour'
'ab1h' is not a relative date
'ab1h' is not a relative date
'  1h' is not a relative date
'  1h' is not a relative date
'123h' is not a relative date
'123h' is not a relative date
75%: Checks: 4, Failures: 1, Errors: 0
ttail_init_set_date_relative.c:58:P:ttail_set_date_relative() checks:wrong_formats:0: Passed
ttail_init_set_date_relative.c:88:F:ttail_set_date_relative() checks:fmt_sec:0: Failed to set relative date for date_min '#-10h' : expected diff was 36000 but 39600 was found
ttail_init_set_date_relative.c:117:P:ttail_set_date_relative() checks:fmt_mon:0: Passed
ttail_init_set_date_relative.c:153:P:ttail_set_date_relative() checks:fmt_year:0: Passed
FAIL ttail_init_set_date_relative (exit status: 1)

they do not pass ``` Running suite(s): ttail relative date checks 'foobar' is not a relative date 'foobar' is not a relative date '%d' is not a relative date '%d' is not a relative date Invalid relative date '#-1f' Invalid relative date '#-1f' Invalid relative date '#-1dour' Invalid relative date '#-1dour' No value found in format '#-h' No value found in format '#-h' '-1h' is not a relative date '-1h' is not a relative date Invalid relative date '#-1h3m' Invalid relative date '#-1h3m' Bad relative format '#--1hour' Bad relative format '#--1hour' 'ab1h' is not a relative date 'ab1h' is not a relative date ' 1h' is not a relative date ' 1h' is not a relative date '123h' is not a relative date '123h' is not a relative date 75%: Checks: 4, Failures: 1, Errors: 0 ttail_init_set_date_relative.c:58:P:ttail_set_date_relative() checks:wrong_formats:0: Passed ttail_init_set_date_relative.c:88:F:ttail_set_date_relative() checks:fmt_sec:0: Failed to set relative date for date_min '#-10h' : expected diff was 36000 but 39600 was found ttail_init_set_date_relative.c:117:P:ttail_set_date_relative() checks:fmt_mon:0: Passed ttail_init_set_date_relative.c:153:P:ttail_set_date_relative() checks:fmt_year:0: Passed FAIL ttail_init_set_date_relative (exit status: 1) ```
Owner

This bug should stop occurring after 10am ;o)

This bug should stop occurring after 10am ;o)
yannweb referenced this issue from a commit 2018-08-22 01:56:11 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
yannweb/ttail#20
No description provided.