selftest: consistently produce high-res UTC time
authorJamie McClymont <jamiemcclymont@catalyst.net.nz>
Thu, 25 Jan 2018 04:23:06 +0000 (17:23 +1300)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 22 Mar 2018 12:26:44 +0000 (13:26 +0100)
commitdd1f8cdf6bd1fb9c881d96957d709b0f517852bb
treeaad38b3302f0be02c47dff614b277f70ec82b1a9
parentba805dcd6f95748d77e24d5de7c31af2ff5848b1
selftest: consistently produce high-res UTC time

Currently some subunit reporters throughout the codebase provide low-res time,
meaning timestamps jump back and forth in the subunit file. Also, some subunit
reporters produce UTC timestamps while others produce local time. UTC was chosen
as the standard for this commit since all of the timestamps end with a Z (= Zulu
= UTC).

Signed-off-by: Jamie McClymont <jamiemcclymont@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Mar 22 13:26:44 CET 2018 on sn-devel-144
lib/torture/subunit.c
selftest/Subunit.pm
selftest/selftest.pl
source4/torture/rpc/witness.c