mirror of
https://github.com/samba-team/samba.git
synced 2025-02-08 05:57:51 +03:00
lib: add a test for null_nttime(NTTIME_THAW)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14127 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 194faa76161a12ae1eae2b471d6f159d97ef75a8)
This commit is contained in:
parent
38ac4c0947
commit
7e1a65ed98
@ -36,6 +36,7 @@ static bool test_null_nttime(struct torture_context *tctx)
|
||||
{
|
||||
torture_assert(tctx, null_nttime(0), "0");
|
||||
torture_assert(tctx, !null_nttime(NTTIME_FREEZE), "-1");
|
||||
torture_assert(tctx, !null_nttime(NTTIME_THAW), "-2");
|
||||
torture_assert(tctx, !null_nttime(42), "42");
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user