ldb tests: fix null test on incorrect variable
authorGary Lockyer <gary@catalyst.net.nz>
Fri, 23 Feb 2018 02:03:20 +0000 (15:03 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 24 Feb 2018 14:50:35 +0000 (15:50 +0100)
commit1ed693423d7a30c3810ddc1b6f052d376c8cd4e7
tree3ee8e99a5dced36f778e5182b037183b6e20d2c0
parent72d780efca5412acf9d6b85f4f26a3974cb9ec2f
ldb tests: fix null test on incorrect variable

Fix up tests that were  performing a null check on the wrong variable
after a call to ldb_msg_new

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Sat Feb 24 15:50:35 CET 2018 on sn-devel-144
lib/ldb/tests/ldb_mod_op_test.c