]> git.ipfire.org Git - thirdparty/samba.git/commit
s4: torture: CHECK ret value and fail if false
authorNoel Power <noel.power@suse.com>
Thu, 19 Aug 2021 11:13:27 +0000 (12:13 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 19 Aug 2021 16:14:30 +0000 (16:14 +0000)
commit161cee6f36b1642e2096a64a4eec22a1ebf82aa2
tree8eba47b80714ac79c8bb5c529b9eb8e333f4f901
parent984a0db00c3f2e38b568a75eb1944f4d7bb7f854
s4: torture: CHECK ret value and fail if false

If we reach 'done' with ret == false without setting
the torture result we get unexpected results e.g.

Exception: Exception: Unknown error/failure. Missing torture_fail() or torture_assert_*() call?

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14760

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/torture/smb2/streams.c