mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Merge remote-tracking branch 'tor-github/pr/748' into maint-0.2.9
This commit is contained in:
commit
c1ab538479
5
changes/bug25113
Normal file
5
changes/bug25113
Normal file
@ -0,0 +1,5 @@
|
||||
o Minor bugfixes (unit test, monotonic time):
|
||||
- Bump a gap of 1msec to 10msec used in the monotonic time test that makes
|
||||
sure the nsec/usec/msec time read are synchronized. This change was
|
||||
needed to accommodate slow system like armel or when the clock_gettime()
|
||||
is not a VDSO on the running kernel. Fixes bug 25113; bugfix on 0.2.9.1.
|
@ -5541,10 +5541,10 @@ test_util_monotonic_time(void *arg)
|
||||
tt_u64_op(usec1, OP_GE, nsec1 / 1000);
|
||||
tt_u64_op(msecc1, OP_GE, nsecc1 / 1000000);
|
||||
tt_u64_op(usecc1, OP_GE, nsecc1 / 1000);
|
||||
tt_u64_op(msec1, OP_LE, nsec1 / 1000000 + 1);
|
||||
tt_u64_op(usec1, OP_LE, nsec1 / 1000 + 1000);
|
||||
tt_u64_op(msecc1, OP_LE, nsecc1 / 1000000 + 1);
|
||||
tt_u64_op(usecc1, OP_LE, nsecc1 / 1000 + 1000);
|
||||
tt_u64_op(msec1, OP_LE, nsec1 / 1000000 + 10);
|
||||
tt_u64_op(usec1, OP_LE, nsec1 / 1000 + 10000);
|
||||
tt_u64_op(msecc1, OP_LE, nsecc1 / 1000000 + 10);
|
||||
tt_u64_op(usecc1, OP_LE, nsecc1 / 1000 + 10000);
|
||||
|
||||
done:
|
||||
;
|
||||
|
Loading…
Reference in New Issue
Block a user