1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

s4:torture:basic: add check for size after initial write to delayed_write_update1

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Michael Adam 2014-10-02 16:32:41 +02:00 committed by Andrew Bartlett
parent 32dee459dc
commit 91c5940421

View File

@ -156,6 +156,9 @@ static bool test_delayed_write_update1(struct torture_context *tctx, struct smbc
torture_assert_ntstatus_ok(tctx, status, "fileinfo failed");
torture_assert_u64_equal(tctx, finfo1.all_info.out.size, 2048,
"file size not as expected after write(2048)");
torture_comment(tctx, "Initial write time %s\n",
nt_time_string(tctx, finfo1.all_info.out.write_time));