Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Ports
libprelude
libprelude-fix_prelude_tests_timer.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libprelude-fix_prelude_tests_timer.patch of Package libprelude
From: Thomas Andrejak <thomas.andrejak@gmail.com> Date: 2017-10-04 07:00:00 +0100 References: http://prelude-siem.org/issues/887 Upstream: submitted Subject: Wrong test --- ./tests/prelude-timer.c 2016-09-15 08:49:10.810000884 +0200 +++ ./tests/prelude-timer.c 2017-05-16 07:18:40.763829280 +0200 @@ -31,7 +31,8 @@ test_timer_t *timer = data; unsigned int elapsed = time(NULL) - timer->start_time; - assert(elapsed == prelude_timer_get_expire(&timer->timer)); + assert(elapsed >= prelude_timer_get_expire(&timer->timer)); + assert(elapsed <= prelude_timer_get_expire(&timer->timer)+1); prelude_timer_destroy(&timer->timer); free(timer);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor