mirror of
https://github.com/samba-team/samba.git
synced 2025-02-08 05:57:51 +03:00
s4:torture: kernel oplocks. Fix assertion warning
Simply boolean 'ret' instead of 'ret = true'. Signed-off-by: Jones Syue <jonessyue@qnap.com> Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Fri Mar 30 18:39:19 CEST 2018 on sn-devel-144
This commit is contained in:
parent
66052fdccd
commit
3ffc918137
@ -5032,7 +5032,7 @@ static bool test_smb2_kernel_oplocks8(struct torture_context *tctx,
|
||||
|
||||
/* Take the oplock locally in a sub-process. */
|
||||
ret = wait_for_child_oplock(tctx, localdir, fname);
|
||||
torture_assert_goto(tctx, ret = true, ret, done,
|
||||
torture_assert_goto(tctx, ret, ret, done,
|
||||
"Wait for child process failed.\n");
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user