1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00
Commit Graph

176 Commits

Author SHA1 Message Date
Stefan Metzmacher
729c7528e6 r7397: - don't exit when one test fails
- some other cleanups

metze
(This used to be commit d8490399d9)
2007-10-10 13:17:50 -05:00
Stefan Metzmacher
21468d061e r7388: - fix calling of test_posix.sh
- move smbd_fifo into the prefix dir

metze
(This used to be commit 1f0168e180)
2007-10-10 13:17:49 -05:00
Stefan Metzmacher
16de998bc6 r7387: enable extra smbtorture args to test_posix.sh
metze
(This used to be commit ee8407c916)
2007-10-10 13:17:49 -05:00
Stefan Metzmacher
a7e6b41873 r7112: add RPC-SPOOLSS test to the w2k3 tests, only with ncacn_np for now
(I also noticed that RPC-SAMR and some other tests are faling against my w2k3 box...)

metze
(This used to be commit 5531eb852c)
2007-10-10 13:17:18 -05:00
Stefan Metzmacher
9a4c00db07 r7103: fix make installswat again:-)
metze
(This used to be commit 46e3f57f0e)
2007-10-10 13:17:16 -05:00
Stefan Metzmacher
e3789dcee6 r7100: install lately added files too
metze
(This used to be commit 067f3a4da2)
2007-10-10 13:17:16 -05:00
Jelmer Vernooij
1deb402445 r7059: Use namespaces for pidl and the build system, so we can later on
call out to the build system to compile the various pidl tests
(without having to rely on shared library support).

Initial work on an ndr_array test.
(This used to be commit 2b08c4b92b)
2007-10-10 13:17:10 -05:00
Andrew Tridgell
b28e017e00 r7001: make sure we install the esp files
(This used to be commit a18b069f06)
2007-10-10 13:17:04 -05:00
Andrew Tridgell
74dda39226 r6989: - added support for esp style includes (which include a esp file, instead of a ejs file)
- added a test of esp style includes to the esptest html
(This used to be commit af3de9468e)
2007-10-10 13:17:03 -05:00
Andrew Tridgell
e8e8eab400 r6986: added support for <% include("somefile.ejs") %> for including common scripts
(This used to be commit e54b31904c)
2007-10-10 13:17:02 -05:00
Andrew Tridgell
7e58231952 r6982: install the swat pages with 'make installswat'
(This used to be commit 31543e1eae)
2007-10-10 13:17:02 -05:00
Jelmer Vernooij
fb52ab1446 r6961: Add RPC-WINREG to list of win2k3 tests
Fix bug in test for QueryMultipleValues
Ignore errors from CreateKey() and GetKeySecurity() for now
(This used to be commit 7b6b8d6b34)
2007-10-10 13:17:00 -05:00
Stefan Metzmacher
b4d9ff4842 r6922: remove bad file...
metze
(This used to be commit 76c930ceee)
2007-10-10 13:16:56 -05:00
Stefan Metzmacher
4541341a1e r6921: preparing for cherry picking merging
(This used to be commit a7c915be3e)
2007-10-10 13:16:56 -05:00
Stefan Metzmacher
928d749143 r6920: display the SVN revision in svk build of tree's directly mirrored from samba.org
metze
(This used to be commit 7feddfb5d2)
2007-10-10 13:16:56 -05:00
Tim Potter
df1bac4442 r6919: Jelmer, here is my script for filtering individual binaries/subsystems/etc
out of the samba4-deps.dot file.  Use like:

script/depfilter.py regpatch < samba4-deps.dot | dotty -

and then scratch your head and wonder why regpatch has to link with 3/4
of what it does.
(This used to be commit 90b07c6860)
2007-10-10 13:16:56 -05:00
Andrew Tridgell
e87dd1091a r6877: added CLDAP testing to test_ldap.sh
(This used to be commit b64936b9a9)
2007-10-10 13:16:53 -05:00
Jelmer Vernooij
6e3b2448eb r6862: Add some more tests
Accept new command-line options --keep, --outputdir and --idl-compiler.

We're currently at 34 IDL tests (...and counting)
(This used to be commit 7004f9515b)
2007-10-10 13:16:52 -05:00
Jelmer Vernooij
1751007e64 r6860: Add some allocation and alignment tests, remove uint64 from list of scalars
(it doesn't have any push/pull functions anymore either)
(This used to be commit 7d36e27e22)
2007-10-10 13:16:51 -05:00
Jelmer Vernooij
9d56a6d8f8 r6859: Add ndr_align tests, use environment variables ($CC, $CFLAGS, $LDFLAGS)
where possible.
(This used to be commit 077f4105ac)
2007-10-10 13:16:51 -05:00
Jelmer Vernooij
fe597fd1e2 r6857: - Support [public] on functions
- Add some more pidl tests based on ref_notes.txt

We currently fail some tests because we don't default to "ref"
for top-level pointers at the moment. We also fail some of the multi-level
tests.
(This used to be commit 187802f580)
2007-10-10 13:16:51 -05:00
Jelmer Vernooij
764d199ca1 r6854: Add --quiet option to pidl
Some work on a testsuite for pidl, including one simple test.
(This used to be commit a5aa61f54e)
2007-10-10 13:16:51 -05:00
Andrew Tridgell
aff28fa227 r6852: implement an idea from kinkie to make the 'make test' target automatically kill smbd
when finished, using a fifo

this makes 'make test' much safer for build farm usage
(This used to be commit a33a424d5b)
2007-10-10 13:16:51 -05:00
Andrew Bartlett
f37f8a49a7 r6598: Make it easy to point the test_echo.sh at remote servers, without
trying to find it on ncaclrpc at well.

Andrew Bartlett
(This used to be commit db0aa1c4b7)
2007-10-10 13:16:29 -05:00
Jelmer Vernooij
bd638ea71c r6577: Make test works without installation now.
Running as a non-root user using socket_wrapper is possible by simple
export SOCKET_WRAPPER_DIR before running 'make test'
(This used to be commit 6d93fcc407)
2007-10-10 13:16:27 -05:00
Jelmer Vernooij
34a70b80da r6568: Some more small 'make test' fixes
(This used to be commit 02160c991a)
2007-10-10 13:16:26 -05:00
Jelmer Vernooij
d58fb60ddc r6567: Use "real" prefix for 'make test'
(This used to be commit 195753b6af)
2007-10-10 13:16:26 -05:00
Jelmer Vernooij
7fca1d46ce r6564: - Fix bug in socket_wrapper
- Add options --quiet and --outputdir options to the provisioning script
- Add simple 'make test' and 'make test-swrap'
(This used to be commit 7d2d4a57e0)
2007-10-10 13:16:26 -05:00
Andrew Tridgell
060ea52989 r6549: a simple ldap test script
(This used to be commit e2f5d36e47)
2007-10-10 13:16:25 -05:00
Andrew Bartlett
20d7577c0a r6456: The RPC-SCHANNEL test is an important test that passes against Win2k3 (well, not SP1, but we are working on that detail).
Andrew Bartlett
(This used to be commit b35b82d4f1)
2007-10-10 13:11:38 -05:00
Stefan Metzmacher
b089a28cb7 r6353: we need the english output from the svn commands
metze
(This used to be commit ccedfc9fe7)
2007-10-10 13:11:34 -05:00
Stefan Metzmacher
cf52d62ec9 r6207: - clean up source topdir
- move provision stuff to setup/
- remove unused scripts

metze
(This used to be commit c35887ca64)
2007-10-10 13:11:26 -05:00
Richard Sharpe
da38166904 r6118: Make it so that we can do --with-zlib=no in configure and also a couple
of small typos.
(This used to be commit 9b4069e845)
2007-10-10 13:11:20 -05:00
Andrew Bartlett
44484c7861 r6010: Change the testing order, so we test all transports for each binding
option, rather than all binding options for each transport.

This means that we get to most of the tests earlier, with at least
some binding options.  (And allows us to have some confidence before
waiting for an RPC-SAMR test to finish with bigendian).

Andrew Bartlett
(This used to be commit 5c3e4df804)
2007-10-10 13:11:14 -05:00
Andrew Bartlett
4037a7e80c r5901: Add another option to the test script - the realm, which must match
the real ream, not just the short domain name.

Andrew Bartlett
(This used to be commit d585e1a759)
2007-10-10 13:11:07 -05:00
Jelmer Vernooij
80d3047333 r5490: The big (D)COM commit! :-) Contains most of the changes described in the
DCOM paper in lorikeet. This is the result of 1.5 months work (mainly
figuring out how things *really* work) at the end of 2004.

In general:
- Clearer distinction between COM and DCOM. DCOM is now merely
  the glue between DCE/RPC+ORPC and COM. COM can also work without
  DCOM now. This makes the code a lot clearer.
- Clearer distinction between NDR and DCOM. Before, NDR had a couple of
  "if"s to cope with DCOM, which are now gone.
- Use "real" arguments rather then structures for function arguments in
  COM, mainly because most of these calls are local so packing/unpacking
  data for every call is too much overhead (both speed- and code-wise)
- Support several mechanisms to load class objects:
  - from memory (e.g. part of the current executable, registered at start-up)
  - from shared object files
  - remotely
- Most things are now also named COM rather then DCOM because that's what it
  really is. After an object is created, it no longer matters whether it
  was created locally or remotely.

There is a very simple example class that contains
both a class factory and a class that implements the IStream interface.
It can be tested (locally only, remotely is broken at the moment)
by running the COM-SIMPLE smbtorture test.

Still to-do:
 - Autogenerate parts of the class implementation code (using the coclass definitions in IDL)
 - Test server-side
 - Implement some of the common classes, add definitions for common interfaces.
(This used to be commit 71fd3e5c3a)
2007-10-10 13:10:50 -05:00
Jelmer Vernooij
7e400d38ec r5479: Add ODL input support.
The ODL module can convert an ODL structure to an IDL structure so that:
 - The COM subsystem can use the ODL structure
 - The DCE/RPC subsystem can use the IDL structure
(This used to be commit a339765d99)
2007-10-10 13:10:49 -05:00
Andrew Tridgell
77cb8cd795 r5384: for RPC-NETLOGON to pass we need to set the realm as well as the domain to the target
realm.

A better fix would be to have a dcerpc_server_realm() helper
function. Andrew, maybe you could see how to extract that out of
gensec? Calling lp_realm() in our torture tests is the wrong approach
I think.
(This used to be commit 2b62840920)
2007-10-10 13:09:49 -05:00
Andrew Tridgell
ecbde2c1c6 r5321: added a program that works out the minimal set of #include lines
needed for a C file in Samba. It tries compiling without each #include
line in turn, and looks for any changes in the compiler output.

Note that the output is not guaranteed correct, it might be that an
include is needed onlyu on some platforms. To cope with this, it
doesn't consider lines with the word "needed" on them. So add a
comment like this:

#include "foo.h" /* needed by systems without kerberos */

and it will know to skip it

It also skips any include lines in a #if section.

If you are brave, you can give it the option --remove and it will
remove lines it thinks are not needed. Please review carefully before
committing the results, and watch the build farm for breakage.
(This used to be commit 348a5f1d4d)
2007-10-10 13:09:41 -05:00
Alexander Bokovoy
1774b36c14 r5173: Refer to a proper zone file name in resulting message
(This used to be commit 0c96cc8bab)
2007-10-10 13:09:29 -05:00
Alexander Bokovoy
578b6e5567 r5169: As provisioning script generates everything under $newdb/ directory, put generated domain zone there as well
(This used to be commit f4fc885c14)
2007-10-10 13:09:28 -05:00
Tim Potter
7d43a2bdfe r5087: Add --swig to pidl flags so that swig .i files are generated with
make idl.
(This used to be commit 7ba9f329aa)
2007-10-10 13:09:21 -05:00
Andrew Tridgell
c72131926d r5048: made the provision.pl script much less error prone (you don't need to
rename a bunch of files)
(This used to be commit 9aa5b07696)
2007-10-10 13:09:17 -05:00
Tim Potter
00169404ed r5033: Remove --with-eparserdir configure option and eparser_idl make target.
This is all done in the lorikeet/ethereal Makefile now.
(This used to be commit 5ec9fad5cf)
2007-10-10 13:09:14 -05:00
Tim Potter
37957ea3eb r5026: Don't build the swig stuff by default until it's a bit more stable.
(This used to be commit df35f1debf)
2007-10-10 13:09:14 -05:00
Tim Potter
28a3ccf9af r5019: Some tweaks to building the swig .i files.
(This used to be commit c252a286ef)
2007-10-10 13:09:14 -05:00
Andrew Tridgell
9c2c819b53 r4953: - enable easy valgrind use in all our test scripts
- when valgrind isn't set, then setup MALLOC_CHECK_ to abort on error
(This used to be commit 21e629e80e)
2007-10-10 13:09:09 -05:00
Andrew Tridgell
d04e3bcca6 r4833: added LOCAL-SOCKET to the list of tests that are expected to pass
(This used to be commit 480a4e3d90)
2007-10-10 13:08:59 -05:00
Stefan Metzmacher
b494d95e6d r4806: - add some data to the configuration naming context
- add some stuff to make w2k3 dc join to get the correct
  values

metze
(This used to be commit d149063562)
2007-10-10 13:08:57 -05:00
Simo Sorce
8a153e5ca2 r4785: add schema objects to provision
but let schema checking be disabled by default until we can pass all test with it enabled
(This used to be commit e2c1ee1dd8)
2007-10-10 13:08:54 -05:00