lib/audit_logging fix flapping test
authorGary Lockyer <gary@catalyst.net.nz>
Sat, 9 Jun 2018 12:58:51 +0000 (14:58 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 10 Jun 2018 17:02:19 +0000 (19:02 +0200)
commite5c0e6da6593fb77d5a16ece9aa85532d855d2be
tree85348e68aa8259c43859e91da0c61fd4f5524fc6
parent81f7ecc2a7fa1d44ef9a1f310eaf890c8fb8b158
lib/audit_logging fix flapping test

Add an adjustment to the before and after values to cater for the
occasional differences between the calculated times.

The exact value of the time stamp is not important what is important is
that is correctly formatted and that the value is reasonable i.e. it's
close enough to the current time.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/audit_logging/tests/audit_logging_test.c