mirror of
https://github.com/samba-team/samba.git
synced 2025-02-15 05:57:49 +03:00
s4:torture/vfs/fruit: write some data to a just created teststream
Doesn't currently make a difference, but this prepares for a later change in vfs_fruit that will filter out empty streams (which is the macOS behaviour). Bug: https://bugzilla.samba.org/show_bug.cgi?id=13646 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 3195ff9547824dd129e3fbcbbb8823fb10a0a5d4)
This commit is contained in:
parent
0cad5ea4e9
commit
0893dd1a77
@ -5282,6 +5282,11 @@ static bool test_stream_names_local(struct torture_context *tctx,
|
||||
|
||||
status = smb2_create(tree, mem_ctx, &create);
|
||||
CHECK_STATUS(status, NT_STATUS_OK);
|
||||
|
||||
status = smb2_util_write(tree, create.out.file.handle, "foo", 0, 3);
|
||||
torture_assert_ntstatus_ok_goto(tctx, status, ret, done,
|
||||
"smb2_util_write failed\n");
|
||||
|
||||
smb2_util_close(tree, create.out.file.handle);
|
||||
|
||||
ret = torture_setup_local_xattr(tctx, "localdir", BASEDIR "/stream_names.txt",
|
||||
|
Loading…
x
Reference in New Issue
Block a user