From e2740e4868f2a49877a86a8666d26226b5657317 Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Thu, 28 Oct 2021 10:17:01 +0200 Subject: [PATCH] lib: use NTTIME_FREEZE in a null_nttime() test No change in behaviour. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14127 Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- lib/util/tests/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util/tests/time.c b/lib/util/tests/time.c index 6742e7fd3fe..ee1fd42c8cf 100644 --- a/lib/util/tests/time.c +++ b/lib/util/tests/time.c @@ -35,7 +35,7 @@ static bool test_null_time(struct torture_context *tctx) static bool test_null_nttime(struct torture_context *tctx) { torture_assert(tctx, null_nttime(0), "0"); - torture_assert(tctx, null_nttime(-1), "-1"); + torture_assert(tctx, null_nttime(NTTIME_FREEZE), "-1"); torture_assert(tctx, !null_nttime(42), "42"); return true; } -- 2.47.3