mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
torture/ioctl: fix dup_extents destination truncate
The dup_extents_compressed_dest test fails to correctly truncate the dup_extents destination. Fix it. Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Ralph Böhme <slow@samba.org>
This commit is contained in:
parent
da95471bf4
commit
3b4d6267d1
@ -5847,7 +5847,7 @@ static bool test_ioctl_dup_extents_compressed_dest(struct torture_context *tctx,
|
||||
ZERO_STRUCT(sinfo);
|
||||
sinfo.end_of_file_info.level = RAW_SFILEINFO_END_OF_FILE_INFORMATION;
|
||||
sinfo.end_of_file_info.in.file.handle = dest_h;
|
||||
sinfo.end_of_file_info.in.size = dup_ext_buf.byte_count;
|
||||
sinfo.end_of_file_info.in.size = 4096;
|
||||
status = smb2_setinfo_file(tree, &sinfo);
|
||||
torture_assert_ntstatus_ok(tctx, status, "smb2_setinfo_file");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user