diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-01-07 14:11:29 -0600 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-01-07 08:18:07 -0600 |
commit | 47f6bbf8cf5bdd03c72c59d00e3e1eab8895590e (patch) | |
tree | ffbfa1586fa70dd22422e8e697985af51ec75fd4 /source4/lib/registry/tests/hive.c | |
parent | 7f8276b06d5000d12c0d64167853a033b924af32 (diff) | |
download | samba-47f6bbf8cf5bdd03c72c59d00e3e1eab8895590e.tar.gz samba-47f6bbf8cf5bdd03c72c59d00e3e1eab8895590e.tar.bz2 samba-47f6bbf8cf5bdd03c72c59d00e3e1eab8895590e.zip |
r26689: registry: Return max_subkeynamelen, max_valnamelen and max_valbufsize in getkeyinfo().
(This used to be commit b06896d2378e536f5044dbe500a5232a89d6d0b5)
Diffstat (limited to 'source4/lib/registry/tests/hive.c')
-rw-r--r-- | source4/lib/registry/tests/hive.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/registry/tests/hive.c b/source4/lib/registry/tests/hive.c index 36eea84d94..22b4785222 100644 --- a/source4/lib/registry/tests/hive.c +++ b/source4/lib/registry/tests/hive.c @@ -47,7 +47,7 @@ static bool test_keyinfo_root(struct torture_context *tctx, /* This is a new backend. There should be no subkeys and no * values */ error = hive_key_get_info(tctx, root, NULL, &num_subkeys, &num_values, - NULL); + NULL, NULL, NULL, NULL); torture_assert_werr_ok(tctx, error, "reg_key_num_subkeys()"); torture_assert_int_equal(tctx, num_subkeys, 0, @@ -80,7 +80,7 @@ static bool test_keyinfo_nums(struct torture_context *tctx, void *test_data) /* This is a new backend. There should be no subkeys and no * values */ error = hive_key_get_info(tctx, root, NULL, &num_subkeys, &num_values, - NULL); + NULL, NULL, NULL, NULL); torture_assert_werr_ok(tctx, error, "reg_key_num_subkeys()"); torture_assert_int_equal(tctx, num_subkeys, 1, "subkey count"); |