diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-02-16 15:13:51 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:48:24 -0500 |
commit | b7a46675fb1157ab235008edf841ae7eed628049 (patch) | |
tree | e8d8c82e72f998b601008c4562805b9ba9dc66f5 /source4/torture/ndr/winreg.c | |
parent | 0fd260039498ac8331665cd2102b597198f58fbb (diff) | |
download | samba-b7a46675fb1157ab235008edf841ae7eed628049.tar.gz samba-b7a46675fb1157ab235008edf841ae7eed628049.tar.bz2 samba-b7a46675fb1157ab235008edf841ae7eed628049.zip |
r21386: Run all NDR tests in the buildfarm, import some functions from Samba3's IDL.
(This used to be commit 15a4b81ba0b5eeb25126a0b1a7bea7d3bf921ab2)
Diffstat (limited to 'source4/torture/ndr/winreg.c')
-rw-r--r-- | source4/torture/ndr/winreg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/torture/ndr/winreg.c b/source4/torture/ndr/winreg.c index 8259a0a45e..b4e19e88ad 100644 --- a/source4/torture/ndr/winreg.c +++ b/source4/torture/ndr/winreg.c @@ -390,7 +390,7 @@ static const uint8_t queryinfokey_in_data[] = { static bool queryinfokey_in_check(struct torture_context *tctx, struct winreg_QueryInfoKey *r) { /* FIXME: Handle */ - torture_assert(tctx, r->in.class_in->name == NULL, "class in"); + torture_assert(tctx, r->in.classname->name == NULL, "class in"); return true; } @@ -403,9 +403,9 @@ static const uint8_t queryinfokey_out_data[] = { static bool queryinfokey_out_check(struct torture_context *tctx, struct winreg_QueryInfoKey *r) { - torture_assert(tctx, r->out.class_in != NULL, "class out"); - torture_assert(tctx, r->out.class_in->name != NULL, "class out name"); - torture_assert_str_equal(tctx, r->out.class_in->name, "", "class out name"); + torture_assert(tctx, r->out.classname != NULL, "class out"); + torture_assert(tctx, r->out.classname->name != NULL, "class out name"); + torture_assert_str_equal(tctx, r->out.classname->name, "", "class out name"); torture_assert_int_equal(tctx, *r->out.num_subkeys, 0, "num subkeys"); torture_assert_int_equal(tctx, *r->out.max_subkeylen, 0, "subkey length"); torture_assert_int_equal(tctx, *r->out.max_subkeysize, 140, "subkey size"); |