summaryrefslogtreecommitdiff
path: root/source4/pidl/tests
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-08-19 13:24:05 +0200
committerStefan Metzmacher <metze@samba.org>2008-08-20 15:22:02 +0200
commitc8ef2956c62ca6d804db40ac093638d67b479b71 (patch)
tree61b3ce22e86f268b77a5b5d674f1f09380b7e244 /source4/pidl/tests
parent8554fcbc03f8086bffb3d0bfb5b74a92bb8f9dd3 (diff)
downloadsamba-c8ef2956c62ca6d804db40ac093638d67b479b71.tar.gz
samba-c8ef2956c62ca6d804db40ac093638d67b479b71.tar.bz2
samba-c8ef2956c62ca6d804db40ac093638d67b479b71.zip
pidl/NDR::Parser: pass $ndr to ->PUSH_FN_BLOB()
metze (This used to be commit 71b0d64866eb1a4f6dc73eeb57b5f0fe5d8a5780)
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 114ca01cfa..ae67e66bb9 100755
--- a/source4/pidl/tests/samba-ndr.pl
+++ b/source4/pidl/tests/samba-ndr.pl
@@ -220,7 +220,7 @@ $generator->ParseStructPush({
TYPE => "STRUCT",
PROPERTIES => {},
ALIGN => 4,
- ELEMENTS => [ ]}, "x");
+ ELEMENTS => [ ]}, "ndr", "x");
is($generator->{res}, "if (ndr_flags & NDR_SCALARS) {
NDR_CHECK(ndr_push_align(ndr, 4));
}
@@ -243,7 +243,7 @@ $generator->ParseStructPush({
PROPERTIES => {},
ALIGN => 4,
SURROUNDING_ELEMENT => $e,
- ELEMENTS => [ $e ]}, "x");
+ ELEMENTS => [ $e ]}, "ndr", "x");
is($generator->{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));