summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-06-29 19:57:06 +0200
committerGünther Deschner <gd@samba.org>2010-06-29 19:57:06 +0200
commitbe7bff5eb59f903fdf8ea35f4dd330ec4313df76 (patch)
treeae4cb558a3c72ed7faaffc178431a05442ccf247
parent92f3e143b7b89ce25b996d6e68f130bbd7142af5 (diff)
downloadsamba-be7bff5eb59f903fdf8ea35f4dd330ec4313df76.tar.gz
samba-be7bff5eb59f903fdf8ea35f4dd330ec4313df76.tar.bz2
samba-be7bff5eb59f903fdf8ea35f4dd330ec4313df76.zip
s4-smbtorture: remove some pointless mem_equal tests in LOCAL-NDR-WINREG testsuite.
Guenther
-rw-r--r--source4/torture/ndr/winreg.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/torture/ndr/winreg.c b/source4/torture/ndr/winreg.c
index 3b5766a495..cc6321fe95 100644
--- a/source4/torture/ndr/winreg.c
+++ b/source4/torture/ndr/winreg.c
@@ -242,7 +242,6 @@ static const uint8_t querymultiplevalues_in_data[] = {
static bool querymultiplevalues_in_check(struct torture_context *tctx,
struct winreg_QueryMultipleValues *r)
{
- torture_assert_mem_equal(tctx, r->in.key_handle, querymultiplevalues_in_data, sizeof(struct policy_handle), "key handle");
torture_assert_int_equal(tctx, r->in.num_values, 1, "num values");
torture_assert_str_equal(tctx, r->in.values_in[0].ve_valuename->name, "HOMEPATH", "name");
torture_assert_int_equal(tctx, r->in.values_in[0].ve_valuename->length, 18, "name len");
@@ -250,7 +249,6 @@ static bool querymultiplevalues_in_check(struct torture_context *tctx,
torture_assert_int_equal(tctx, r->in.values_in[0].ve_valuelen, 0, "length");
torture_assert(tctx, (r->in.values_in[0].ve_valueptr == NULL), "ve_valueptr");
torture_assert_int_equal(tctx, r->in.values_in[0].ve_type, 0, "type");
- torture_assert_mem_equal(tctx, r->in.buffer, querymultiplevalues_in_data+0x6C, *r->in.buffer_size, "buffer");
torture_assert_int_equal(tctx, *r->in.buffer_size, 32, "buffer size");
return true;
@@ -300,7 +298,6 @@ const uint8_t querymultiplevalues2_in_data[] = {
static bool querymultiplevalues2_in_check(struct torture_context *tctx,
struct winreg_QueryMultipleValues2 *r)
{
- torture_assert_mem_equal(tctx, r->in.key_handle, querymultiplevalues2_in_data, sizeof(struct policy_handle), "key handle");
torture_assert_int_equal(tctx, r->in.num_values, 1, "num values");
torture_assert_str_equal(tctx, r->in.values_in[0].ve_valuename->name, "TEMP", "name");
torture_assert_int_equal(tctx, r->in.values_in[0].ve_valuename->length, 10, "name len");