The branch, master has been updated via 2a81893 ctdb-tests: Fix CID 1358704 use of "=" where "==" may have been intended from cce6b67 dbwrap_ctdb: Fix ENOENT->NT_STATUS_NOT_FOUND
https://git.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 2a81893291c90342a594cf308768d6aefdd9fa9f Author: Robin Hack <hack.ro...@gmail.com> Date: Tue Apr 26 11:29:43 2016 +0200 ctdb-tests: Fix CID 1358704 use of "=" where "==" may have been intended Signed-off-by: Robin Hack <hack.ro...@gmail.com> Reviewed-by: Amitay Isaacs <ami...@gmail.com> Reviewed-by: Uri Simchoni <u...@samba.org> Autobuild-User(master): Amitay Isaacs <ami...@samba.org> Autobuild-Date(master): Tue Apr 26 19:21:24 CEST 2016 on sn-devel-144 ----------------------------------------------------------------------- Summary of changes: ctdb/tests/src/db_hash_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Changeset truncated at 500 lines: diff --git a/ctdb/tests/src/db_hash_test.c b/ctdb/tests/src/db_hash_test.c index 3627616..1f93743 100644 --- a/ctdb/tests/src/db_hash_test.c +++ b/ctdb/tests/src/db_hash_test.c @@ -64,7 +64,7 @@ static void do_test(enum db_hash_type type) assert(ret == 0); ret = db_hash_fetch(dh, key, sizeof(key), NULL, NULL); - assert(ret = EINVAL); + assert(ret == EINVAL); ret = db_hash_fetch(dh, key, sizeof(key), record_parser, &count); assert(ret == 0); -- Samba Shared Repository