summaryrefslogtreecommitdiff
path: root/source4/lib/registry/tests/hive.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-22 05:02:57 -0600
committerStefan Metzmacher <metze@samba.org>2007-12-24 01:51:01 -0600
commit09f820f0bd1a9fc7ffd171418ceb0e19df8e2e43 (patch)
tree08620708ea279c5bdf32f94d384d6174a1cfb037 /source4/lib/registry/tests/hive.c
parent670918f916cb881d4cc591516c70bafe4e39ba45 (diff)
downloadsamba-09f820f0bd1a9fc7ffd171418ceb0e19df8e2e43.tar.gz
samba-09f820f0bd1a9fc7ffd171418ceb0e19df8e2e43.tar.bz2
samba-09f820f0bd1a9fc7ffd171418ceb0e19df8e2e43.zip
r26564: More python bindings for registry code.
(This used to be commit f40fad9827d0e9567224bc1e64ea91e610a07a3f)
Diffstat (limited to 'source4/lib/registry/tests/hive.c')
-rw-r--r--source4/lib/registry/tests/hive.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/registry/tests/hive.c b/source4/lib/registry/tests/hive.c
index fdb7282395..e3a301710f 100644
--- a/source4/lib/registry/tests/hive.c
+++ b/source4/lib/registry/tests/hive.c
@@ -211,13 +211,13 @@ static bool test_del_value(struct torture_context *tctx, const void *test_data)
data_blob_talloc(mem_ctx, &data, sizeof(data)));
torture_assert_werr_ok(tctx, error, "hive_set_value");
- error = hive_del_value(subkey, "Answer");
+ error = hive_key_del_value(subkey, "Answer");
torture_assert_werr_ok(tctx, error, "deleting value");
error = hive_get_value(mem_ctx, subkey, "Answer", &type, &value);
torture_assert_werr_equal(tctx, error, WERR_NOT_FOUND, "getting value");
- error = hive_del_value(subkey, "Answer");
+ error = hive_key_del_value(subkey, "Answer");
torture_assert_werr_equal(tctx, error, WERR_NOT_FOUND,
"deleting value");