#20 ttail_init_set_date_relative tests

Closed
opened 2 years ago by maxime-alves · 1 comments

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) ```
yannweb commented 2 years ago
Owner

This bug should stop occurring after 10am ;o)

This bug should stop occurring after 10am ;o)
yannweb referenced this issue from a commit 2 years ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
Cancel
Save
There is no content yet.