mirror of
https://github.com/samba-team/samba.git
synced 2025-03-24 10:50:22 +03:00
ldb: Fix missing NULL terminator in ldb_mod_op_test testsuite
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
This commit is contained in:
parent
924f3f000e
commit
f8b368c9f0
@ -3099,7 +3099,7 @@ static int ldb_unique_index_test_setup(void **state)
|
||||
"dn: @INDEXLIST\n"
|
||||
"@IDXATTR: cn\n"
|
||||
"\n";
|
||||
const char *options[] = {"modules:unique_index_test"};
|
||||
const char *options[] = {"modules:unique_index_test", NULL};
|
||||
|
||||
|
||||
ret = ldb_register_module(&ldb_unique_index_test_module_ops);
|
||||
@ -3201,7 +3201,7 @@ static int ldb_non_unique_index_test_setup(void **state)
|
||||
"dn: @INDEXLIST\n"
|
||||
"@IDXATTR: cn\n"
|
||||
"\n";
|
||||
const char *options[] = {"modules:unique_index_test"};
|
||||
const char *options[] = {"modules:unique_index_test", NULL};
|
||||
|
||||
|
||||
ret = ldb_register_module(&ldb_unique_index_test_module_ops);
|
||||
|
Loading…
x
Reference in New Issue
Block a user