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

24 Commits

Author SHA1 Message Date
Jeremy Allison
e7e56bcc72 s4: torture: Change torture_register_suite() to add a TALLOC_CTX *.
Change callers to use the passed in TALLOC_CTX *
instead of talloc_autofree_context().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
2017-05-05 15:52:11 +02:00
Jeremy Allison
306783d6f5 lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *)
Not currently used - no logic changes inside.

This will make it possible to pass down a long-lived talloc
context from the loading function for modules to use instead
of having them internally all use talloc_autofree_context()
which is a hidden global.

Updated all known module interface numbers, and added a
WHATSNEW.

Signed-off-by: Jeremy Allison <jra@samba.org>
Signed-off-by: Ralph Böhme <slow@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Apr 22 01:17:00 CEST 2017 on sn-devel-144
2017-04-22 01:17:00 +02:00
Jelmer Vernooij
35fbc7bbda s4-smbtorture: Make test names lowercase and dot-separated.
This is consistent with the test names used by selftest, should
make the names less confusing and easier to integrate with other tools.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
2010-12-11 04:16:13 +01:00
Kamen Mazdrashki
7168b1c99f s4/test-libnet: Fix compile-time warning 2010-06-11 17:46:34 +03:00
Andrew Tridgell
84d0047377 s4-torture: ran minimal_includes.pl over source4/torture
This reduces compile time somewhat.
2009-10-20 16:04:46 +11:00
Jelmer Vernooij
1e973565b6 Move subunit infrastructure code into lib/torture.
(This used to be commit 5b44d8121d)
2008-04-27 14:02:46 +01:00
Kai Blin
1ab7a0e66d libnet: Fix includes to silence a warning
(This used to be commit ba5a21998b)
2008-01-11 11:12:59 +01:00
Rafal Szczesniak
011248fbe1 r26634: Add NET-API-CREATEGROUP test.
(This used to be commit 3d7a18b823)
2007-12-30 13:21:01 -06:00
Rafal Szczesniak
b8313b19fb r26530: Add NET-API-GROUPLIST test.
(This used to be commit 73566f520c)
2007-12-21 05:51:54 +01:00
Rafal Szczesniak
d8b9666c33 r25368: Add the test of group add routine.
rafal
(This used to be commit f893244a31)
2007-10-10 15:07:19 -05:00
Rafal Szczesniak
aa1d27be88 r24681: add basic test of libnet_GroupInfo function.
rafal
(This used to be commit 5ba36fe703)
2007-10-10 15:02:40 -05:00
Rafal Szczesniak
6a29604c36 r24555: Add a test for libnet's group info call.
rafal
(This used to be commit 40ad66dd75)
2007-10-10 15:02:13 -05:00
Andrew Tridgell
0479a2f1cb r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac)
2007-10-10 14:59:12 -05:00
Rafal Szczesniak
dffe18ed1a r22566: add a simple test of libnet_DomainList function.
rafal
(This used to be commit a1ca08b05b)
2007-10-10 14:51:44 -05:00
Stefan Metzmacher
25e468e83f r20144: add NET-API-BECOME-DC test that tests libnet_BecomeDC()/libnet_UnbecomeDC()
metze
(This used to be commit 0359d9a00b)
2007-10-10 14:29:14 -05:00
Rafal Szczesniak
e45922e304 r19593: add NET-API-USERLIST test
rafal
(This used to be commit fba1d8b041)
2007-10-10 14:24:59 -05:00
Jelmer Vernooij
8773e743c5 r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grained
output in the testsuite rather than just True or False for a
set of tests.

The aim is to use this for:
 * known failure lists (run all tests and detect tests that
						started working or started failing). This
   would allow us to get rid of the RPC-SAMBA3-* tests
 * nicer torture output
 * simplification of the testsuite system
 * compatibility with other unit testing systems
 * easier usage of smbtorture (being able to run one test
						and automatically set up the environment for that)

This is still a work-in-progress; expect more updates over the next couple of
days.
(This used to be commit 0eb6097305)
2007-10-10 14:21:12 -05:00
Rafal Szczesniak
328a02e1ac r18106: Add new samr domain NET tests.
rafal
(This used to be commit 9bc7fb5aea)
2007-10-10 14:17:17 -05:00
Rafal Szczesniak
e1e0645d18 r17857: A couple of new tests.
rafal
(This used to be commit 6db488cc6e)
2007-10-10 14:16:49 -05:00
Rafal Szczesniak
66cc0cbefc r16342: Placeholder for a function implementing NET-API-MODIFYUSER test.
rafal
(This used to be commit 82ac02dd18)
2007-10-10 14:09:11 -05:00
Jelmer Vernooij
a3545383fb r16331: Split out registering of multi fn tests, fix typo in name of pac suite.
(This used to be commit 9e8574ac6c)
2007-10-10 14:09:11 -05:00
Rafal Szczesniak
e3ab0d3d67 r15784: Redesign of NET-API-RPCCONNECT tests to cover more cases of usage.
Right now, each level of libnet_RpcConnect can be tested with
correct and incorrect credentials (testing against expected nt
status). Various transports can be tested on NET-API-RPCCONN-BIND
test which does testing on explicitly passed binding string.
Tested services include LSA, SAMR, SRVSVC at the moment.

rafal
(This used to be commit e64084a39d)
2007-10-10 14:08:19 -05:00
Rafal Szczesniak
88b3ccb9de r15664: Add NET-API-DELETEUSER test for libnet_DeleteUser function.
Only the sync version right now.

rafal
(This used to be commit 7b5ebf9392)
2007-10-10 14:08:05 -05:00
Jelmer Vernooij
c67fd3f0e8 r14524: Make TORTURE_NET a separate module
Add new header for torture utility functions, so torture.h doesn't
need to depend on the SMB libraries
(This used to be commit ab162bcafc)
2007-10-10 13:57:36 -05:00