Jelmer Vernooij
0878399bd5
samdb: Lowercase library name.
2010-11-07 01:52:13 +01:00
Jelmer Vernooij
3deece5591
s4: Remove the old perl/m4/make/mk-based build system.
...
The new waf-based build system now has all the same functionality, and
the old build system has been broken for quite some time.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
2010-10-31 02:01:44 +00:00
Andrew Tridgell
d6299d2667
replace: create a private replace-test library
...
used by replace_testuite and smbtorture
2010-10-30 23:48:59 +11:00
Jelmer Vernooij
b2af2fd3de
torture_local: Add missing dependency on socket_wrapper.
2010-10-26 10:17:17 -07:00
Jelmer Vernooij
a6611c16a8
torture/local: Depend on NSS_WRAPPER, even if it wasn't enabled.
...
torture_local tests nss_wrapper.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 24 01:02:00 UTC 2010 on sn-devel-104
2010-10-24 01:02:00 +00:00
Jelmer Vernooij
2933fac7c7
s4: Rename NSS_WRAPPER to nss_wrapper.
...
Only link to nss_wrapper when it is enabled.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Oct 23 23:05:44 UTC 2010 on sn-devel-104
2010-10-23 23:05:43 +00:00
Jelmer Vernooij
c529317fe2
Lowercase socket_wrapper name.
...
Avoid linking against socket_wrapper outside of developer mode.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu Oct 21 20:26:11 UTC 2010 on sn-devel-104
2010-10-21 20:26:11 +00:00
Matthias Dieter Wallnöfer
5339bad942
s4:torture/local/dbspeed.c - use LDB result constant
...
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Fri Oct 15 19:11:32 UTC 2010 on sn-devel-104
2010-10-15 19:11:32 +00:00
Andrew Tridgell
6b266b85cf
s4-loadparm: 2nd half of lp_ to lpcfg_ conversion
...
this converts all callers that use the Samba4 loadparm lp_ calling
convention to use the lpcfg_ prefix.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-16 18:24:27 +10:00
Stefan Metzmacher
6dbcffb51d
s4:lib: merge LDB_WRAP and LDBSAMBA and make LDBSAMBA a library.
...
This is needed to remove samba specifc symbols from the bundled
ldb, in order to get the ABI right.
metze
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-06-16 14:07:28 +02:00
Matthias Dieter Wallnöfer
1d3b00bfd7
s4:dbspeed torture - improve also the TDB code part
...
Always use the label "failed" on failures, always close the database context
(child of "tmp_ctx") when deleting database file.
2010-04-11 21:49:02 +02:00
Matthias Dieter Wallnöfer
1fd6d9cd66
s4:dbspeed torture - remove unneeded newlines on "torture_result"
...
According to Jelmer's post on the technical list.
2010-04-11 21:49:02 +02:00
Matthias Dieter Wallnöfer
c7dfe736a8
s4:torture - "dbspeed" test - add newlines as we have them in the other failure messages
2010-04-11 11:33:45 +02:00
Matthias Dieter Wallnöfer
52ab3ca5e6
s4:torture - "dbspeed" test
...
Calculate the leaks on base of the "tmp_ctx" not the torture context.
2010-04-11 11:31:48 +02:00
Matthias Dieter Wallnöfer
753698e070
s4:torture - "dbspeed" test
...
Unify error handling.
2010-04-11 11:31:47 +02:00
Matthias Dieter Wallnöfer
cc32e7aff2
s4:torture - "dbspeed" test
...
Add more "talloc_free"s where needed or useful.
2010-04-11 11:31:47 +02:00
Andrew Tridgell
f9eae32f4b
s4-waf: mark the wscript files as python so vim/emacs knows how to highlight them
2010-04-06 20:27:11 +10:00
Andrew Tridgell
026690af00
s4-waf: remove the need for some of the lib aliases
2010-04-06 20:27:05 +10:00
Andrew Tridgell
844acb2260
build: waf quicktest nearly works
...
Rewrote wafsamba using a new dependency handling system, and started
adding the waf test code
2010-04-06 20:26:48 +10:00
Andrew Tridgell
845e0cbe6f
build: commit all the waf build files in the tree
2010-04-06 20:26:48 +10:00
Andrew Tridgell
91cb7b7c60
test:local added LOCAL-DLINKLIST testsuite
...
(cherry picked from commit 95a5bee2c30a67a35604b0456ab7836f6dc67702)
2010-02-10 15:55:34 -08:00
Andrew Bartlett
2a601719f2
s4:dsdb Add expected value tests for most DRS syntax conversions
...
I've left out those for which I could not find an expected value in my
default Windows 2003 server's database, and the values that rely on
the current prefix map at the time.
Andrew Bartlett
2009-11-12 16:34:12 +11:00
Andrew Bartlett
da1ac55bc1
s4:dsdb Add extensive tests for the behaviour of dsdb_dn
2009-11-12 16:34:06 +11:00
Andrew Tridgell
4ad0397d8a
s4-ldbwrap: added re-use of ldb contexts in ldb_wrap_connect()
...
This allows us to reuse a ldb context if it is open twice, instead
of going through the expensive process of a full ldb open. We can
reuse it if all of the parameters are the same.
The change relies on callers using talloc_unlink() or free of a parent
to close a ldb context.
2009-10-23 14:52:17 +11: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
Kamen Mazdrashki
bd5343924f
s4/asn1: Added torture suite for ASN1
2009-10-01 23:12:59 +02:00
Jelmer Vernooij
db55ea08bc
parmlist: Add basic tests for test_get_int().
2009-09-27 14:39:58 +02:00
Günther Deschner
36fc0b961f
s4-smbtorture: add a very basic NSS-WRAPPER testsuite.
...
Guenther
2009-05-29 13:50:09 +02:00
Jelmer Vernooij
5b33624113
Rename the top-level LDB test to LOCAL-LDB, so it gets picked up by the
...
script that determines the tests to run.
2009-04-24 09:50:05 +02:00
Jelmer Vernooij
7972d82436
Remove -L/usr/lib from a couple more make variables.
2009-03-15 00:54:55 +01:00
Jelmer Vernooij
4638633308
Move tdr to top-level.
2009-03-14 21:57:44 +01:00
Jelmer Vernooij
c023828962
Fix missing symbols issues when building with shared libraries.
2008-12-22 21:03:09 +01:00
Stefan Metzmacher
46eda79090
s4:lib/tevent: add lib/events/ compat and let things compile
...
metze
2008-12-17 13:31:29 +01:00
Stefan Metzmacher
7ed352b0c9
s4:torture: PROVISION isn't used by all tests
...
We should not pollute all torture object files with
EXT_LIB_PYTHON_CFLAGS
metze
2008-11-03 18:02:02 +01:00
Jelmer Vernooij
09a63accb8
Move charset library to top level.
2008-10-24 00:06:35 +02:00
Jelmer Vernooij
d7371dae24
Add one-test testsuite for datablob.
2008-10-12 01:56:11 +02:00
Jelmer Vernooij
75a36a9a54
Add some simple tests for lib/util/time.c
2008-10-11 23:25:35 +02:00
Jelmer Vernooij
caa4e42860
Move lib/util from source4 to top-level libutil.
...
Conflicts:
source4/Makefile
2008-10-11 21:05:38 +02:00
Jelmer Vernooij
6925202bde
Move source4/lib/crypto to lib/crypto.
2008-09-24 15:30:23 +02:00
Simo Sorce
508527890a
Merge ldb_search() and ldb_search_exp_fmt() into a simgle function.
...
The previous ldb_search() interface made it way too easy to leak results,
and being able to use a printf-like expression turns to be really useful.
2008-09-23 18:17:46 -04:00
Jelmer Vernooij
94855cd692
Move common libraries from root to lib/.
2008-09-17 14:11:12 +02:00
Jelmer Vernooij
323346f7b0
Merge branch 'singlecompression' into single
2008-09-16 19:07:59 +02:00
Jelmer Vernooij
9c466a6158
Use single copy of compression library in Samba3,4.
2008-09-16 19:07:02 +02:00
Jelmer Vernooij
7fdca97040
Merge branch 'singlesw' into single
...
Conflicts:
source3/lib/socket_wrapper/socket_wrapper.c
source4/lib/replace/system/network.h
2008-09-16 16:46:22 +02:00
Jelmer Vernooij
bf21371c09
Merge branch 'singlereplace' into single
...
Conflicts:
source4/configure.ac
source4/torture/local/config.mk
2008-09-16 16:45:10 +02:00
Jelmer Vernooij
f957aeaee6
Merge branch 'singletdb' into single
2008-09-16 16:44:16 +02:00
Jelmer Vernooij
41669237cd
Use single copy of socket_wrapper in Samba 3 and Samba 4.
2008-09-16 16:39:45 +02:00
Jelmer Vernooij
0888ffa2b7
Make Samba 3 and Samba 4 both use the same single copy of libreplace.
2008-09-16 16:30:14 +02:00
Jelmer Vernooij
8ec93160d5
Fix last few includes to use new tdb location.
2008-09-16 16:09:50 +02:00
Jelmer Vernooij
80a5da73e9
Share talloc source code between Samba 3 and Samba 4.
2008-09-16 14:36:41 +02:00
Stefan Metzmacher
8699913858
lib/crypto: remove unused sha1 and hmac-sha1 code
...
metze
(This used to be commit 2c8904be3b
)
2008-06-04 09:12:24 +02:00
Jelmer Vernooij
32dfdae009
Move IDL build script to rpc directory, make various bits and pieces easier to use externally.
...
(This used to be commit 8328ff7641
)
2008-05-19 02:03:00 +02:00
Jelmer Vernooij
4c70cda986
Fix a couple (well, little more than that..) of typos.
...
(This used to be commit a6b5211994
)
2008-05-18 23:02:47 +02:00
Jelmer Vernooij
4c8756f147
Create prototype headers from Makefile directory, without smb_build in the middle.
...
(This used to be commit f4a77b96f9
)
2008-05-18 22:30:08 +02:00
Jelmer Vernooij
03643aec88
Use variables for source directory in a couple more places.
...
(This used to be commit c41bd3005f
)
2008-05-18 19:54:27 +02:00
Jelmer Vernooij
670122d724
Fix torture module initializion.
...
(This used to be commit d5bf4e9065
)
2008-05-10 23:46:51 +02: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
Jelmer Vernooij
21fc767378
Specify event_context to ldb_wrap_connect explicitly.
...
(This used to be commit b4e1ae07a2
)
2008-04-17 12:23:44 +02:00
Jelmer Vernooij
e9017ba418
Use _OBJ_FILES variables in a couple more places.
...
(This used to be commit 92856d5054
)
2008-04-14 17:22:58 +02:00
Andrew Bartlett
c82e9c9f6d
Don't specify the ntds_guid to the C -> python provision interface
...
This paramter was not used anyway.
Andrew Bartlett
(This used to be commit 6875e6823f
)
2008-04-11 19:35:15 +10:00
Andrew Bartlett
ae977ef247
Fix merge errors on C provision interface after jelmer's good work.
...
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Conflicts:
source/torture/local/torture.c
(This used to be commit 5bf1c89cf8
)
2008-04-11 11:11:42 +10:00
Andrew Bartlett
9198a519be
Set a netbios name into provision, and zero the rest.
...
Remove dns_name initialisation.
Andrew Bartlett
(This used to be commit e77ab2fbd1
)
2008-04-11 11:09:34 +10:00
Jelmer Vernooij
ad8e3e4192
Add infrastructure for returning ProvisionResult in C provision code.
...
(This used to be commit 98c3d34eb2
)
2008-04-10 05:23:17 +02:00
Jelmer Vernooij
82c7872639
Move provision C bindings to param/.
...
(This used to be commit 7d45ed0c3e
)
2008-04-09 03:23:13 +02:00
Andrew Bartlett
3f2e403a86
Rework talloc hirarchy for C provision setup.
...
This seems to fix (or sweep under the covers) a crash in this code.
Andrew Bartlett
(This used to be commit 2fcddfe583
)
2008-04-08 17:26:55 +10:00
Andrew Bartlett
7e0ef3fd0e
Make Samba4 pass the NET-API-BECOMEDC test against Win2k3 (again).
...
To make Samba4, using the python provision system, pass this test
required some major rework. Untested code is broken code, and some of
the refactoring for a seperate provision test (which also now passes)
broke things.
Similarly, the iconv work has compiled, but these codepaths have never
been run (NULL pointer de-reference).
In working to use a local, rather than global, loadparm context, and
to support using a target directory, a few things needed to be
reworked, particularly around path handling.
Andrew Bartlett
(This used to be commit 1169e8d7be
)
2008-03-06 21:55:26 +11:00
Michael Adam
dfc84928d7
libreplace: add extended getifaddrs test that prints out the interfaces.
...
Michael
(This used to be commit 9d2bab09aa
)
2008-02-28 23:01:15 +01:00
Jelmer Vernooij
56e75ed20c
Reconcile header files for torture utility functions.
...
(This used to be commit 1269758e95
)
2008-02-15 15:53:06 +01:00
Jelmer Vernooij
85fe22a85f
Use struct for provision parameters since there are so many of them.
...
(This used to be commit 4b9d5bc57c
)
2008-02-15 15:14:55 +01:00
Jelmer Vernooij
d499dfd938
Add test for provision_bare() code.
...
(This used to be commit 0f3a1dbb53
)
2008-02-15 01:37:57 +01:00
Kai Blin
3c744ddd2c
r26588: Janitorial: Rename torture_*_add_*test to torture_*_add_*test_const.
...
Also rename the corresponding wrap_ functions.
(This used to be commit e59c2eaf68
)
2007-12-26 11:57:05 -06:00
Jelmer Vernooij
3c12ad6a95
r26346: Add tests for loadparm.
...
(This used to be commit 064a2329e1
)
2007-12-21 05:48:52 +01:00
Jelmer Vernooij
bbdfbf8d9d
r26238: Add a loadparm context parameter to torture_context, remove more uses of global_loadparm.
...
(This used to be commit a33a553054
)
2007-12-21 05:47:20 +01:00
Jelmer Vernooij
afafeca814
r26004: Add some simple credentials tests.
...
(This used to be commit e96c722cbf
)
2007-12-21 05:45:40 +01:00
Jelmer Vernooij
ca0b72a1fd
r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.
...
(This used to be commit 56dfcb4f2f
)
2007-12-21 05:45:40 +01:00
Jelmer Vernooij
81ad27b309
r25935: Fix registry tests.
...
(This used to be commit b311094714
)
2007-12-21 05:45:09 +01:00
Jelmer Vernooij
73f88ad250
r25931: Add config .mk file for crypto lib.
...
(This used to be commit 21ab43158f
)
2007-12-21 05:45:07 +01:00
Jelmer Vernooij
dbc78e2016
r25928: Split up torture-local a bit.
...
(This used to be commit c6b1090408
)
2007-12-21 05:45:06 +01:00
Jelmer Vernooij
6ee570c327
r25927: Move share tests to param directory.
...
(This used to be commit f12f623da5
)
2007-12-21 05:45:05 +01:00
Jelmer Vernooij
a86920600a
r25926: Move iconv test to iconv code directory.
...
(This used to be commit e20c4b90e4
)
2007-12-21 05:45:05 +01:00
Jelmer Vernooij
0bccc88392
r25903: Move more files out of torture/
...
(This used to be commit f734df3144
)
2007-12-21 05:44:46 +01:00
Jelmer Vernooij
f924ac9744
r25902: Move messaging tests to same directory as code.
...
(This used to be commit d174dcbb76
)
2007-12-21 05:44:45 +01:00
Jelmer Vernooij
b09047b78e
r25624: Remove ipv4_addr hack. Only causes 4 extra includes of system/network.h because we stripped down includes.
...
(This used to be commit 262c1c23a6
)
2007-12-21 05:43:00 +01:00
Jelmer Vernooij
2151cde580
r25554: Convert last instances of BOOL, True and False to the standard types.
...
(This used to be commit 566aa14139
)
2007-10-10 15:07:55 -05:00
Jelmer Vernooij
2f3551ca7c
r25446: Merge some changes I made on the way home from SFO:
...
2007-09-29 More higher-level passing around of lp_ctx.
2007-09-29 Fix warning.
2007-09-29 Pass loadparm contexts on a higher level.
2007-09-29 Avoid using global loadparm context.
(This used to be commit 3468952e77
)
2007-10-10 15:07:34 -05:00
Jelmer Vernooij
60a1046c5c
r25430: Add the loadparm context to all parametric options.
...
(This used to be commit fd697d77c9
)
2007-10-10 15:07:31 -05:00
Jelmer Vernooij
3048e9ad65
r25392: Add loadparm context as argument in a couple more places.
...
(This used to be commit c62f51cc28
)
2007-10-10 15:07:24 -05:00
Jelmer Vernooij
f2d64e1c45
r25306: Add tests for string_sub().
...
(This used to be commit 2d37ddcbd1
)
2007-10-10 15:07:11 -05:00
Jelmer Vernooij
98b57d5eb6
r25035: Fix some more warnings, use service pointer rather than service number in more places.
...
(This used to be commit df9cebcb97
)
2007-10-10 15:05:43 -05:00
Jelmer Vernooij
ffeee68e4b
r25026: Move param/param.h out of includes.h
...
(This used to be commit abe8349f9b
)
2007-10-10 15:05:38 -05:00
Stefan Metzmacher
039a369a4f
r24988: LOCAL-IRPC needs a the pid dir setup (as LOCAL-MESSAGING)
...
not the lock dir...
metze
(This used to be commit bccc014757
)
2007-10-10 15:05:24 -05:00
Jelmer Vernooij
356294da18
r24686: Make sure control messages are on a new line.
...
(This used to be commit 90119f96e9
)
2007-10-10 15:02:42 -05:00
Jelmer Vernooij
11744d9f1d
r24685: Don't warn about iconv tests not being usable until they're actually being run.
...
(This used to be commit df34e60698
)
2007-10-10 15:02:42 -05:00
Jelmer Vernooij
b409d4120f
r24667: Finally merge the registry improvements that Wilco Baan Hofman and I have
...
been working on for at least half a year now. Contains the following
improvements:
* proper layering (finally!) for the registry library. Distinction is
now made between 'real' backends (local, remote, wine, etc) and
the low-level hive backends (regf, creg, ldb, ...) that are only used
by the local registry backend
* tests for all important hive and registry operations
* re-enable RPC-WINREG tests (still needs more work though, as
some return values aren't checked yet)
* write support for REGF files
* dir backend now supports setting/reading values, creating keys
* support for storing security descriptors
* remove CREG backend as it was incomplete, didn't match the data model
and wasn't used at all anyway
* support for parsing ADM files as used by the policy editor (see lib/policy)
* support for parsing PREG files (format used by .POL files)
* new streaming interface for registry diffs (improves speed and memory usage
for regdiff/regpatch significantly)
... and fixes a large number of bugs in the registry code
(This used to be commit 7a1eec6358
)
2007-10-10 15:02:34 -05:00
Andrew Bartlett
1133678c34
r24502: More work to get LOCAL-EVENT passing on all platforms:
...
- Make the epoll_event_context_init() call fail if epoll_create() fails.
This should cause this backend to be skipped on host with epoll() in
libc but not in the kernel.
- At the moment, there is no sensible way to handle failures to add an
epoll() event, and 'fallback to select' is misnamed (so we now
abort()).
Andrew Bartlett
(This used to be commit fb1e1eebda
)
2007-10-10 15:02:02 -05:00
Andrew Bartlett
1ea23c2a95
r24390: Another attempt to find out why we fail the LOCAL-EVENT test on some build farm hosts.
...
Andrew Bartlett
(This used to be commit 1abd8edb57
)
2007-10-10 15:01:49 -05:00
Andrew Bartlett
cf9972a1bd
r24300: Try to get the LOCAL-EVENT test to pass on hosts with epoll() in
...
glibc, but not in the host kernel.
Andrew Bartlett
(This used to be commit bd70b0d106
)
2007-10-10 15:01:37 -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
Andrew Tridgell
c42219d735
r22969: fix some more places where we could end up with more than one event
...
context. We now have an event context on the torture_context, and we
can also get one from the cli_credentials structure
(This used to be commit c0f65eb656
)
2007-10-10 14:52:34 -05:00
Andrew Bartlett
61e5856403
r22883: Indentation.
...
(This used to be commit 7548da913d
)
2007-10-10 14:52:28 -05:00