summaryrefslogtreecommitdiff
path: root/source4/pidl/tests
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-02-20 01:27:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:48:38 -0500
commit8f83985f2890ac2b47a33853812d62bbb90e9cf4 (patch)
treeb6b747847a49eb805f6729aff875bf7e3123425b /source4/pidl/tests
parent4b6ee4837998c4fafec5b7b80c67944d3d986f30 (diff)
downloadsamba-8f83985f2890ac2b47a33853812d62bbb90e9cf4.tar.gz
samba-8f83985f2890ac2b47a33853812d62bbb90e9cf4.tar.bz2
samba-8f83985f2890ac2b47a33853812d62bbb90e9cf4.zip
r21459: Remove name argument, more refactoring.
(This used to be commit fad03f6c51b40bca2b60036835b998056fec0faa)
Diffstat (limited to 'source4/pidl/tests')
-rwxr-xr-xsource4/pidl/tests/samba-ndr.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/pidl/tests/samba-ndr.pl b/source4/pidl/tests/samba-ndr.pl
index a528265e64..1167f77aee 100755
--- a/source4/pidl/tests/samba-ndr.pl
+++ b/source4/pidl/tests/samba-ndr.pl
@@ -259,7 +259,7 @@ Parse::Pidl::Samba4::NDR::Parser::ParseStructPush({
TYPE => "STRUCT",
PROPERTIES => {},
ALIGN => 4,
- ELEMENTS => [ ]}, "mystruct", "x");
+ ELEMENTS => [ ]}, "x");
is($res, "if (ndr_flags & NDR_SCALARS) {
NDR_CHECK(ndr_push_align(ndr, 4));
}
@@ -282,7 +282,7 @@ Parse::Pidl::Samba4::NDR::Parser::ParseStructPush({
PROPERTIES => {},
ALIGN => 4,
SURROUNDING_ELEMENT => $e,
- ELEMENTS => [ $e ]}, "mystruct", "x");
+ ELEMENTS => [ $e ]}, "x");
is($res, "if (ndr_flags & NDR_SCALARS) {
NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, ndr_string_array_size(ndr, x->el1)));
NDR_CHECK(ndr_push_align(ndr, 4));