summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-04-13 21:33:59 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-04-13 21:33:59 +0200
commitae553dfcecdd605658dea73ccb6e577b059f478c (patch)
tree1b15002ac1e82cb8d5f73fba5104c5d0ebe9bc98 /source4
parent225a65da2d3c675dba8bd2330dd56f949e21fa4b (diff)
downloadsamba-ae553dfcecdd605658dea73ccb6e577b059f478c.tar.gz
samba-ae553dfcecdd605658dea73ccb6e577b059f478c.tar.bz2
samba-ae553dfcecdd605658dea73ccb6e577b059f478c.zip
Use new torture_assert_mem_equal.
(This used to be commit b6319b64d7ef9c58f771f338317d4d525d39a8f2)
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/registry/tests/registry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/tests/registry.c b/source4/lib/registry/tests/registry.c
index e5e34c11e0..1780b4e772 100644
--- a/source4/lib/registry/tests/registry.c
+++ b/source4/lib/registry/tests/registry.c
@@ -428,7 +428,7 @@ static bool test_get_value(struct torture_context *tctx, void *_data)
torture_assert_werr_ok(tctx, error, "getting value");
torture_assert_int_equal(tctx, 4, data.length, "value length ok");
- torture_assert(tctx, memcmp(data.data, &value, 4) == 0,
+ torture_assert_mem_equal(tctx, data.data, &value, 4,
"value content ok");
torture_assert_int_equal(tctx, REG_DWORD, type, "value type");