mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s4:torture/vfs/fruit: fix a few error checks in "delete AFP_AfpInfo by writing all 0"
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>
This commit is contained in:
parent
242f42ef79
commit
394d1fc9ac
@ -3675,7 +3675,7 @@ static bool test_afpinfo_all0(struct torture_context *tctx,
|
||||
create.in.fname = fname;
|
||||
|
||||
status = smb2_create(tree, mem_ctx, &create);
|
||||
torture_assert_goto(tctx, ret == true, ret, done,
|
||||
torture_assert_ntstatus_ok_goto(tctx, status, ret, done,
|
||||
"smb2_create failed\n");
|
||||
baseh = create.out.file.handle;
|
||||
|
||||
@ -3686,7 +3686,7 @@ static bool test_afpinfo_all0(struct torture_context *tctx,
|
||||
create.in.fname = sname;
|
||||
|
||||
status = smb2_create(tree, mem_ctx, &create);
|
||||
torture_assert_goto(tctx, ret == true, ret, done,
|
||||
torture_assert_ntstatus_ok_goto(tctx, status, ret, done,
|
||||
"smb2_create failed\n");
|
||||
h1 = create.out.file.handle;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user