summaryrefslogtreecommitdiff
path: root/testprogs/win32/midltests/valid/midltests_union_align_04.txt
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-10-24 18:54:46 +0200
committerStefan Metzmacher <metze@samba.org>2010-10-24 19:04:08 +0200
commitfd628e7ae4653d5224c5dfcd9b2815113eaae7b8 (patch)
treec90affae8aa4c254e94ed9cf4f4a78dabc6359af /testprogs/win32/midltests/valid/midltests_union_align_04.txt
parent172a1580d234a2194ce5bc6ca6056bbea48ed7e3 (diff)
downloadsamba-fd628e7ae4653d5224c5dfcd9b2815113eaae7b8.tar.gz
samba-fd628e7ae4653d5224c5dfcd9b2815113eaae7b8.tar.bz2
samba-fd628e7ae4653d5224c5dfcd9b2815113eaae7b8.zip
midltests: add more union_align examples
This demonstrates the difference between NDR32 and NDR64 metze
Diffstat (limited to 'testprogs/win32/midltests/valid/midltests_union_align_04.txt')
-rw-r--r--testprogs/win32/midltests/valid/midltests_union_align_04.txt37
1 files changed, 37 insertions, 0 deletions
diff --git a/testprogs/win32/midltests/valid/midltests_union_align_04.txt b/testprogs/win32/midltests/valid/midltests_union_align_04.txt
new file mode 100644
index 0000000000..d323860497
--- /dev/null
+++ b/testprogs/win32/midltests/valid/midltests_union_align_04.txt
@@ -0,0 +1,37 @@
+Wait for setup of server threads
+
+Test NDR32
+
+ndr32: disable NDR64
+
+ndr32:in => out: ptype[request] flen[37] plen[13] ahint[13]
+
+[000] 01 00 00 00 56 00 00 00 01 00 00 00 43 ....V... ....C
+
+srv_midltests_fn: Start
+srv_midltests_fn: End
+
+ndr32:out => in: ptype[response] flen[28] plen[4] ahint[4]
+
+[000] 54 72 75 65 True
+
+NDRTcpThread[ndr32] stop
+
+Test NDR64
+
+ndr64: got NDR64
+
+ndr64:in => out: ptype[request] flen[37] plen[13] ahint[13]
+
+[000] 01 00 00 00 56 00 00 00 01 00 00 00 43 ....V... ....C
+
+srv_midltests_fn: Start
+srv_midltests_fn: End
+
+ndr64:out => in: ptype[response] flen[28] plen[4] ahint[4]
+
+[000] 54 72 75 65 True
+
+NDRTcpThread[ndr64] stop
+
+Test OK