1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

124 Commits

Author SHA1 Message Date
Jelmer Vernooij
c30f9add8c Add test for authservice struct.
(This used to be commit da8b8364b0)
2008-04-06 00:57:14 +02:00
Jelmer Vernooij
35dd0b0f4a Add test for INCLUDE command.
(This used to be commit d1aa25249d)
2008-02-19 02:02:48 +01:00
Jelmer Vernooij
23582ce0f4 Add simple test for ETT_FIELD.
(This used to be commit aea5042636)
2008-02-13 02:28:41 +01:00
Jelmer Vernooij
d696a50452 Fix test count after pointer_default_top() removal.
(This used to be commit 9a4b9facc8)
2008-02-09 16:25:34 +01:00
Stefan Metzmacher
c713b58a00 pidl/NDR: fix handling of multilevel pointers in function elements
The 2nd or higher level of wire pointers needs to be marked as deferred.

metze
(This used to be commit d7970d7032)
2008-02-07 08:33:18 +01:00
Stefan Metzmacher
1ea5b06307 pidl: get the pointer types correct when an element has multiple pointers
Only the first level gets the pointer type from the
pointer property, the others get them from
the pointer_default() interface property

see http://msdn2.microsoft.com/en-us/library/aa378984(VS.85).aspx
(Here they talk about the rightmost pointer, but testing shows
they mean the leftmost pointer.)

metze
(This used to be commit aa8518521b)
2008-02-07 08:33:18 +01:00
Stefan Metzmacher
31fac9d66b pidl: remove 'pointer_default_top()' support
metze
(This used to be commit 145d6c8ea0)
2008-02-04 18:37:09 +01:00
Stefan Metzmacher
e22c627ea1 pidl: revert changes it didn't want to push...sorry!
8ebf16c074 Works!!!...pidl/Samba4::NDR::Parser: fix support for embedded "ref" pointers
6fcf2456d0 WORKS!!!...pidl/NDR: fix handling of multilevel pointers in function elements
0569139ca2 LOOKS OK... pidl: get the pointer types correct when an element has multiple pointe
rs
13afc89a87 CHECKED... pidl/Samba4::NDR::Parser: correctly get the name of an array element
29c104944b CHECKED... TODO:MSG pidl/Samba4::NDR::Parser: fix ...
3369015f5d CHECKED... pidl/Samba4::NDR::Parser: move logic for extra get_pointer_of() into a f
unction

metze
(This used to be commit 0bcc8e53d1)
2008-02-02 11:13:03 +01:00
Stefan Metzmacher
2670c95446 WORKS!!!...pidl/NDR: fix handling of multilevel pointers in function elements
The 2nd or higher level of wire pointers needs to be marked as deferred.

metze
(This used to be commit 6fcf2456d0)
2008-02-01 23:15:16 +01:00
Stefan Metzmacher
19898379bd LOOKS OK... pidl: get the pointer types correct when an element has multiple pointers
Only the first level gets the pointer type from the
pointer property, the others get them from
the pointer_default() interface property

see http://msdn2.microsoft.com/en-us/library/aa378984(VS.85).aspx
(Here they talk about the rightmost pointer, but testing shows
they mean the leftmost pointer.)

metze
(This used to be commit 0569139ca2)
2008-02-01 22:36:05 +01:00
Stefan Metzmacher
dca5fab180 pidl: be consistent and always ask pkg-config only for 'ndr'
metze
(This used to be commit ab2e1394d0)
2008-01-30 20:25:40 +01:00
Jelmer Vernooij
3e53ad6f4a pidl: Add simple test for ServerNDR.
(This used to be commit 5b2ea43ed8)
2008-01-16 15:08:00 +01:00
Jelmer Vernooij
39cc507d1b pidl: Fix imported function for ServerNDR and add test to make sure it doesn't regress again.
(This used to be commit 0e03694830)
2008-01-16 15:08:00 +01:00
Jelmer Vernooij
a99dff8660 pidl: Move Generate*Env functions to Parse::Pidl::Samba4::Header because they only work with the structures generated by that file.
(This used to be commit 9aeb7f31b0)
2008-01-14 19:53:05 +01:00
Jelmer Vernooij
b36a0aedd2 pidl: Avoid accidently filling in empty body for types without body.
(This used to be commit 1fe5c1ad07)
2008-01-13 00:05:24 +01:00
Jelmer Vernooij
3f9812f951 pidl/ejs: Fix bug that filled in the body for types without body.
(This used to be commit 4f4dfa6042)
2008-01-12 23:38:05 +01:00
Jelmer Vernooij
ad55958140 pidl: Add function for determining whether a type has a body.
(This used to be commit 893f4102c9)
2008-01-12 23:10:28 +01:00
Jelmer Vernooij
0e4be859f2 pidl: Add more parsing tests.
(This used to be commit e44ee3e60a)
2008-01-12 21:37:46 +01:00
Jelmer Vernooij
1b90619009 pidl: Remove declare tests, add more tests for typedef.
(This used to be commit 254bf85c2e)
2008-01-12 21:21:14 +01:00
Jelmer Vernooij
6963e9b90b pidl: Move tests for the CUtil module to a separate file.
(This used to be commit ce40890ef0)
2008-01-12 21:14:44 +01:00
Jelmer Vernooij
70ca537498 pidl: Fix samba3-cli test after Günthers formatting fixes.
(This used to be commit bd4ce069b4)
2008-01-10 20:38:14 +01:00
Jelmer Vernooij
584044d5e7 r26444: Fix pidl tests.
(This used to be commit bc643f1014)
2007-12-21 05:50:12 +01:00
Jelmer Vernooij
6f1efbba06 r26262: Add test for WERROR return code handling for Samba 3 client code.
(This used to be commit 6017b16f50)
2007-12-21 05:47:36 +01:00
Stefan Metzmacher
3e1fb13024 r25915: ndr/pidl: change NTSTAUS into enum ndr_err_code (pidl code)
Samba4/NDR/Parser.pm
Samba4/NDR/Server.pm
Samba3/ServerNDR.pm
tests/

metze
(This used to be commit 7106f21de8)
2007-12-21 05:44:54 +01:00
Stefan Metzmacher
bd05c0c3fa r25795: whitespace cleanup...
metze
(This used to be commit cae48a1953)
2007-12-21 05:44:02 +01:00
Stefan Metzmacher
1f87eb38fd r25768: pidl: NT_STATUS_IS_ERR() is NOT the same as !NT_STATUS_IS_OK()
Everything but success should be handled as error in the tests.

metze
(This used to be commit cadb1cc743)
2007-12-21 05:43:51 +01:00
Stefan Metzmacher
7dee06709e r25767: pidl: make it easier to debug errors in pidl tests
we now print the C program that we tried to compile

metze
(This used to be commit 299e74314c)
2007-12-21 05:43:50 +01:00
Stefan Metzmacher
0bf387e0f9 r25766: pidl: fix bugs in ndr_tagtype tests found by compiler warnings
metze
(This used to be commit 34af31cfb3)
2007-12-21 05:43:50 +01:00
Stefan Metzmacher
616a64dd39 r25765: pidl: fix compiler warning in ndr_align test
metze
(This used to be commit 3accc840be)
2007-12-21 05:43:49 +01:00
Jelmer Vernooij
621fcfcd1c r25453: Fix include for NTSTATUS.
(This used to be commit 3c2d06d8fc)
2007-10-10 15:07:38 -05:00
Jelmer Vernooij
2e3768843a r25185: Check that can_contain_deferred returns true if one of the members of a type can contain deferred data.
(This used to be commit 9e804e0c21)
2007-10-10 15:06:47 -05:00
Jelmer Vernooij
d222c5e7ae r25166: Simplify can_contain_deferred and add tests for it.
(This used to be commit 1afc7dd4d3)
2007-10-10 15:06:45 -05:00
Jelmer Vernooij
8d182d881d r24816: Move the rest of the contents of core.h to more appropriate places.
include/ now only contains build system related headers, all other headers are
now near the source code they're related to.
(This used to be commit 6890a01dbf)
2007-10-10 15:03:15 -05:00
Jelmer Vernooij
7acc0e77a6 r24815: Support cpp_quote().
(This used to be commit 30c1de30bb)
2007-10-10 15:03:14 -05:00
Jelmer Vernooij
09c188e735 r24812: Fix headers for external users.
(This used to be commit ff6684adfd)
2007-10-10 15:03:13 -05:00
Stefan Metzmacher
02467edf5c r24592: pass down the ndr_interface_table in the samba3 client bindings
instead of the pull and push functions

metze
(This used to be commit 9b59534a14)
2007-10-10 15:02:22 -05:00
Stefan Metzmacher
0d7d5a6d49 r24560: rename some DCERPC_ prefixes into NDR_
metze
(This used to be commit f874eca5da)
2007-10-10 15:02:15 -05:00
Stefan Metzmacher
575c870926 r24493: - it turns out that
foreach my $e (@{$union->{ELEMENTS}}) {
  changes $union->{ELEMENTS} from undef into an empty array.
  this removes the difference between
  struct foo { }; and struct foo;
  So we need to explicit return before.
- we should return the same element for layout for
  structs and unions with no elements.
- fix the testsuite to match

metze
(This used to be commit 5f1f50cd27)
2007-10-10 15:02:01 -05:00
Stefan Metzmacher
b76b6a1522 r24492: Parse::Pidl::Samba4::Header::Parse() now takes an $ndr tree
not the $pidl tree anymore.

metze
(This used to be commit 3cbbddb94c)
2007-10-10 15:02:00 -05:00
Stefan Metzmacher
44dc2839e4 r24447: fix samba3-cli pidl tests
metze
(This used to be commit 91fb099b3d)
2007-10-10 15:01:51 -05:00
Andrew Bartlett
74b35321dc r23677: When I removed data_blob_equal, I clearly didn't test the PIDL code.
Fix these to use the new data_blob_cmp()

Andrew Bartlett
(This used to be commit d2fba8faf0)
2007-10-10 14:58:58 -05:00
Stefan Metzmacher
dbff619f2a r23071: print the command on failure only
metze
(This used to be commit 65ed391729)
2007-10-10 14:52:48 -05:00
Stefan Metzmacher
ffe21e4a7c r23069: print out the command, to find out the problem on host 'tridge'
metze
(This used to be commit 3f28a19ea1)
2007-10-10 14:52:48 -05:00
Jelmer Vernooij
771b57b3fc r22520: Fix the TYPE command.
(This used to be commit b81b0d3308)
2007-10-10 14:51:37 -05:00
Jelmer Vernooij
cc5ad07d84 r22462: Fix test suite for ndr parser without using 'our'
(This used to be commit d491e60c70)
2007-10-10 14:51:23 -05:00
Jelmer Vernooij
b0d2090879 r22457: Fix tests for Samba3 client generator.
(This used to be commit cf5162ad10)
2007-10-10 14:51:23 -05:00
Jelmer Vernooij
68d92f0a12 r22456: Merge wireshark and ejs test improvements.
(This used to be commit 0375978403)
2007-10-10 14:51:22 -05:00
Jelmer Vernooij
3b39a0df0a r22453: Fix TDR testsuite without using our.
(This used to be commit 2c82aea0d3)
2007-10-10 14:51:22 -05:00
Jelmer Vernooij
a0bfcfa55d r22357: Don't use 'our'
(This used to be commit 7989ee2aa0)
2007-10-10 14:51:06 -05:00
Jelmer Vernooij
faaac73ff6 r21690: Test use of typedef /and/ struct name
(This used to be commit f6d9cdb8a8)
2007-10-10 14:49:12 -05:00