s4-torture: fix file time checks
authorUri Simchoni <uri@samba.org>
Sun, 19 Nov 2017 17:13:26 +0000 (17:13 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 22 Nov 2017 09:20:20 +0000 (10:20 +0100)
commita83953a094f1a41f3633ae24cdfd3a6cb804d986
treebad987d11191659a86f9ce38903282f18eb3a0ed
parent5fd04020c2bd5ae24f434ddef5976b39c2bfe2b4
s4-torture: fix file time checks

NTTIME is an unsigned quantity. When comparing two
of them, first calculate a signed difference, then
take absolute value.

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/torture/raw/open.c
source4/torture/smb2/create.c