1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-04 08:23:50 +03:00
Commit Graph

45 Commits

Author SHA1 Message Date
Jelmer Vernooij
4a5b62ad62 r21338: Fix handling of top-level arrays for the Samba 3 client code. This doesn't
fix the winreg code yet (as that's an array on top of a pointer), but at least
it gets us closer.

Also added a couple of tests for the Samba 3 client code.
2007-10-10 14:48:15 -05:00
Jelmer Vernooij
8212a3b8e0 r21332: Fix bug in pidl that prevented value(0) from working. Bug reported by metze. 2007-10-10 14:48:14 -05:00
Jelmer Vernooij
025597a359 r21260: Fix regex. 2007-10-10 14:44:55 -05:00
Jelmer Vernooij
84c15158b9 r21254: Fix running the testsuite outside pidl/ 2007-10-10 14:44:54 -05:00
Jelmer Vernooij
1aecba7100 r21253: Merge some pidl fixes:
* Add tests for wireshark dissector generator
 * Add tests for the header code
 * Some cleanups
 * Fix handling of elements without [in] or [out]
2007-10-10 14:44:54 -05:00
Jelmer Vernooij
37c0da541e r21222: Merge a couple of pidl fixes:
* Pidl will now warn when trying to use pointers as integers in expressions.
* "subcontext()" is now marked as deprecated. The alternatives,
  transmit_as() / represent_as() should be available soon.
* More tests.
* Remove some unused code in smbtorture.
2007-10-10 14:44:48 -05:00
Jelmer Vernooij
9da63e362c r20967: Allow pidl tests to work with gcov 2007-10-10 14:44:04 -05:00
Jelmer Vernooij
a0e2e30d57 r20638: Check for NULL pointers (where possible) in print functions. Fixes #4218,
but without reintroducing coverity warnings.
2007-10-10 14:37:19 -05:00
Jelmer Vernooij
419547df76 r20637: Don't check for NULL pointers when the pointer is guaranteed to not be NULL
(if it is a ref pointer).
2007-10-10 14:37:19 -05:00
Jelmer Vernooij
3ddc767727 r20633: Add another test, fix warnings. 2007-10-10 14:37:18 -05:00
Jelmer Vernooij
ded25eca70 r20631: Add some tests for the ndr parser. 2007-10-10 14:37:18 -05:00
Jelmer Vernooij
203076129b r20625: Fix couple of warnings. 2007-10-10 14:37:17 -05:00
Jelmer Vernooij
1618921a7e r20571: fix '' case 2007-10-10 14:37:03 -05:00
Jelmer Vernooij
f5dc1b47ec r20567: Print proper errors with filename and line numbers in ParseExpr() 2007-10-10 14:37:01 -05:00
Jelmer Vernooij
d3146f3bcd r20563: Start using the new parser in ParseExpr(). It's now trivial to use this
to check for NULL pointers when pointers are being dereferenced (#4218).

There are exactly 500 tests for pidl now :-)
2007-10-10 14:36:58 -05:00
Jelmer Vernooij
0ba52e459b r20556: Add more tests to make sure nothing breaks when I replace the ParseExpr code. 2007-10-10 14:36:55 -05:00
Jelmer Vernooij
9f794c55a6 r20550: Use standard error mechanism in parser.
Make sure errors are reported correctly.
2007-10-10 14:36:53 -05:00
Jelmer Vernooij
30d721569f r20548: Remove unnecessary "use lib", fix warnings. 2007-10-10 14:36:52 -05:00
Jelmer Vernooij
2d960d4d7b r20547: Add tests for expected errors/warnings. 2007-10-10 14:36:51 -05:00
Jelmer Vernooij
ae9b0895e8 r20545: Fix is_constant(). 2007-10-10 14:36:51 -05:00
Jelmer Vernooij
44775a6ac4 r20543: Merge some pidl bug fixes:
* C expressions that just started with a constant were erroneously flagged
   as being a constant.
 * 1-length variable names in expressions were broken.
2007-10-10 14:36:51 -05:00
Jelmer Vernooij
b3f64869fc r20299: Disable two new tests that are apparently broken. 2007-10-10 14:29:34 -05:00
Jelmer Vernooij
ab3d573946 r20298: Fix pidl tests (missing symlink..). 2007-10-10 14:29:34 -05:00
Jelmer Vernooij
01a4fb1b22 r19868: Fix more tests. 2007-10-10 14:28:28 -05:00
Jelmer Vernooij
2a3196db9d r19866: Fix test compilation. 2007-10-10 14:28:27 -05:00
Jelmer Vernooij
1638c8d234 r19859: Reuse referrent ids when pushing full pointers (still need to
avoid pushing the referred object twice) and add test for full pointers.
2007-10-10 14:28:26 -05:00
Jelmer Vernooij
3a850bda96 r19751: Add some tests for parsing the "include", "import" and "importlib" statements. 2007-10-10 14:28:18 -05:00
Jelmer Vernooij
86b4624226 r18559: [string] always applies to the last pointer 2007-10-10 14:18:46 -05:00
Jelmer Vernooij
03224dab11 r14867: Include <stdbool.h> in external compiles 2007-10-10 13:59:44 -05:00
Jelmer Vernooij
c2f510d38b r14727: Update pidls' TODO, add test that demonstrates the desired behaviour 2007-10-10 13:59:14 -05:00
Jelmer Vernooij
31e847a084 r14690: Support represent_as in headers, enable represent_as() test (which works now) 2007-10-10 13:59:09 -05:00
Jelmer Vernooij
b199f5345c r14689: Fix test 2007-10-10 13:59:09 -05:00
Jelmer Vernooij
7bc72277b3 r14688: More work on represent_as(): output the right function calls, fix test. 2007-10-10 13:59:08 -05:00
Jelmer Vernooij
744402160d r14687: Start working on support for represent_as() and transmit_as() as
an alternative to subcontext()
2007-10-10 13:59:08 -05:00
Jelmer Vernooij
a7279f13f0 r14686: Fix pidl testsuite to run whenever there is a shared libary built
Samba present. Ignore tests that are known to fail for now.
2007-10-10 13:59:08 -05:00
Jelmer Vernooij
765fd852e7 r14550: Fix tests 2007-10-10 13:58:44 -05:00
Stefan Metzmacher
5552eaa37c r12776: use $ENV{TEST_DATA_PREFIX} for test files if available
metze
2007-10-10 13:49:53 -05:00
Stefan Metzmacher
4b90ad7a27 r12539: fix the pidl tests
metze
2007-10-10 13:47:54 -05:00
Jelmer Vernooij
516b66e0f1 r12482: Add some more tests 2007-10-10 13:47:43 -05:00
Jelmer Vernooij
1fa6c3568b r12480: Extend testsuite 2007-10-10 13:47:43 -05:00
Jelmer Vernooij
3a57d29a62 r12470: Add helper module for pidl tests
Convert other pidl tests to use Test::More and run them from 'make test'
2007-10-10 13:47:43 -05:00
Jelmer Vernooij
6967b98849 r12465: Merge Parse::Pidl::Samba4::NDR::Header into Parse::Pidl::Samba4::NDR::Parser.
Small optimization to avoid including NDR headers multiple times
2007-10-10 13:47:42 -05:00
Jelmer Vernooij
975d8816db r12464: Add simple IDL parsing tests for pidl using the standard perl
testing framework (Test::Simple, distributed with perl itself).
Run these tests from 'make test'
2007-10-10 13:47:42 -05:00
Jelmer Vernooij
f25358270d r12463: Rename 'Samba' namespace to 'Samba4' 2007-10-10 13:47:42 -05:00
Jelmer Vernooij
e48202275e r9459: Move pidl up one level (to prevent too much nesting) 2007-10-10 13:34:17 -05:00