"now/r == now" time randomly fails
I randomly observe failures of "now/r == now" time test:
PASS: tests/time 116 now/igloo_ctime_to_time_t
FAIL: tests/time 117 now/r == now
PASS: tests/time 118 now/marked correctly as non-ro
ERROR: tests/time - exited with status 1
The cause is that the test hard-coded a 1-second tolerance to now and r difference. That's not enough as a CPU scheduler can pause the test process for a longer period, especially on heavily loaded systems. The failure can be reproduced with injecting "sleep(2);" between time() and igloo_ctime_from_now() calls in test_now() function in tests/time.c.
An attached patch libigloo-0.9.2-Fix-Make-now-r-now-time-test-tolerant-to-CPU-schedul.patch fixes it. (I could not create a merge request because my limit for forks on this server is exhausted.)