audit_logging tests: Fix timezone validation
authorGary Lockyer <gary@catalyst.net.nz>
Mon, 2 Mar 2020 21:44:47 +0000 (10:44 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 7 Mar 2020 06:37:09 +0000 (06:37 +0000)
commitd2d2329b11968c000b81b22909f6c4234fc8d101
treed0380f73d24d75f5bbea901640cbb3c7f796930d
parent56e466b4b849b7269add03faebeb0a63f9cda827
audit_logging tests: Fix timezone validation

test_audit_get_timestamp used the "%Z" format specifier in strptime,
this is non-portable.  Updated tests now explicitly set the time zone to
"UTC".

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Sat Mar  7 06:37:09 UTC 2020 on sn-devel-184
lib/audit_logging/tests/audit_logging_test.c