1
0
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:
Ralph Boehme 2018-10-17 10:51:45 +02:00 committed by Jeremy Allison
parent 242f42ef79
commit 394d1fc9ac

View File

@ -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;