summaryrefslogtreecommitdiff
path: root/source4/torture/local
AgeCommit message (Collapse)AuthorFilesLines
2011-10-13lib/util: Add back control of mmap and hash size in tdb for top level buildAndrew Bartlett1-1/+1
This passes down a struct loadparm_context to allow these parameters to be checked. This may be s3 or s4 context, allowing the #if _SAMBA_BUILD_ macro to go away safely. Andrew Bartlett
2011-10-11auth: move credentials layer to the top levelAndrew Bartlett1-1/+1
This will allow gensec_start.c to move to the top level. This does not change what code uses the cli_credentials code, but allows the gensec code to be more broadly. Andrew Bartlett
2011-06-20tdb_fetch_compat: use instead of tdb_fetch.Rusty Russell1-2/+2
This is a noop for tdb1. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-20tdb_compat.h: divert every tdb build and includes to tdb_compatRusty Russell1-1/+1
We change all the headers and wscript files to use tdb_compat; this means we have one place to decide whether to use TDB1 or TDB2. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-05-06lib/util Move source3 tdb_wrap_open() into the common code.Andrew Bartlett1-1/+1
This #if _SAMBA_BUILD == 3 is very unfortunate, as it means that in the top level build, these options are not available for these databases. However, having two different tdb_wrap lists is a worse fate, so this will do for now. Andrew Bartlett
2011-04-13s4-test: added a test for E_deshash()Andrew Tridgell1-0/+1
this particularly checks the boundary conditions near passwords of length 14 characters Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Apr 13 07:31:55 CEST 2011 on sn-devel-104
2011-04-13lib/util/charset Add many more charset testsAndrew Bartlett1-0/+2
This confirms that the behaviour of the convert_string() API (with the process-wide iconv handle). Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13lib/util/charset Rename convert_string test to allow a 'non_handle' testAndrew Bartlett1-1/+1
A future commit will test (with a subset of tests) the varient of this function without _handle. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-03-31lib/util/charset Add tests for strcasecmp_m(), talloc_strupper() et alAndrew Bartlett1-0/+1
This adds tests for: strncasecmp_m strcasecmp_m strupper_talloc_n strlower_talloc strhaslower strhasupper The tests can certainly be improved with pre-calculated upper and lower case text, but this at least puts them though their paces. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Mar 31 14:24:22 CEST 2011 on sn-devel-104
2011-03-30lib/util/charset Add tests for convert_string_talloc_handle()Andrew Bartlett2-0/+2
Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Mar 30 13:02:47 CEST 2011 on sn-devel-104
2011-02-28Use <tdb.h> to include tdb, so the system include file gets used when ↵Jelmer Vernooij1-1/+1
building against system tdb.
2011-02-10ldb: use #include <ldb.h> for ldbAndrew Tridgell1-2/+2
thi ensures we are using the header corresponding to the version of ldb we're linking against. Otherwise we could use the system ldb for link and the in-tree one for include Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-01-20lib/util: add tests for anonymous_shared_allocate/free()Stefan Metzmacher2-1/+17
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jan 20 06:25:03 CET 2011 on sn-devel-104
2010-12-11s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij3-10/+8
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-11-12torture: Only add in tests for socket_wrapper/nss_wrapper when they have ↵Jelmer Vernooij2-2/+18
been enabled.
2010-11-07samdb: Lowercase library name.Jelmer Vernooij1-1/+1
2010-10-31s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij1-66/+0
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-30replace: create a private replace-test libraryAndrew Tridgell2-2/+3
used by replace_testuite and smbtorture
2010-10-26torture_local: Add missing dependency on socket_wrapper.Jelmer Vernooij1-1/+1
2010-10-24torture/local: Depend on NSS_WRAPPER, even if it wasn't enabled.Jelmer Vernooij1-1/+1
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-23s4: Rename NSS_WRAPPER to nss_wrapper.Jelmer Vernooij1-1/+1
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-21Lowercase socket_wrapper name.Jelmer Vernooij1-1/+1
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-15s4:torture/local/dbspeed.c - use LDB result constantMatthias Dieter Wallnöfer1-1/+2
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Oct 15 19:11:32 UTC 2010 on sn-devel-104
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell1-1/+1
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-06-16s4:lib: merge LDB_WRAP and LDBSAMBA and make LDBSAMBA a library.Stefan Metzmacher1-1/+1
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-04-11s4:dbspeed torture - improve also the TDB code partMatthias Dieter Wallnöfer1-10/+9
Always use the label "failed" on failures, always close the database context (child of "tmp_ctx") when deleting database file.
2010-04-11s4:dbspeed torture - remove unneeded newlines on "torture_result"Matthias Dieter Wallnöfer1-7/+7
According to Jelmer's post on the technical list.
2010-04-11s4:torture - "dbspeed" test - add newlines as we have them in the other ↵Matthias Dieter Wallnöfer1-2/+2
failure messages
2010-04-11s4:torture - "dbspeed" testMatthias Dieter Wallnöfer1-2/+2
Calculate the leaks on base of the "tmp_ctx" not the torture context.
2010-04-11s4:torture - "dbspeed" testMatthias Dieter Wallnöfer1-10/+17
Unify error handling.
2010-04-11s4:torture - "dbspeed" testMatthias Dieter Wallnöfer1-3/+4
Add more "talloc_free"s where needed or useful.
2010-04-06s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell1-0/+2
them
2010-04-06s4-waf: remove the need for some of the lib aliasesAndrew Tridgell1-1/+1
2010-04-06build: waf quicktest nearly worksAndrew Tridgell1-2/+2
Rewrote wafsamba using a new dependency handling system, and started adding the waf test code
2010-04-06build: commit all the waf build files in the treeAndrew Tridgell1-0/+8
2010-02-10test:local added LOCAL-DLINKLIST testsuiteAndrew Tridgell2-0/+2
(cherry picked from commit 95a5bee2c30a67a35604b0456ab7836f6dc67702)
2009-11-12s4:dsdb Add expected value tests for most DRS syntax conversionsAndrew Bartlett2-2/+4
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-12s4:dsdb Add extensive tests for the behaviour of dsdb_dnAndrew Bartlett2-2/+6
2009-10-23s4-ldbwrap: added re-use of ldb contexts in ldb_wrap_connect()Andrew Tridgell1-1/+1
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-20s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell2-3/+0
This reduces compile time somewhat.
2009-10-01s4/asn1: Added torture suite for ASN1Kamen Mazdrashki2-0/+2
2009-09-27parmlist: Add basic tests for test_get_int().Jelmer Vernooij2-0/+2
2009-05-29s4-smbtorture: add a very basic NSS-WRAPPER testsuite.Günther Deschner2-1/+4
Guenther
2009-04-24Rename the top-level LDB test to LOCAL-LDB, so it gets picked up by theJelmer Vernooij2-2/+3
script that determines the tests to run.
2009-03-15Remove -L/usr/lib from a couple more make variables.Jelmer Vernooij1-1/+1
2009-03-14Move tdr to top-level.Jelmer Vernooij1-1/+1
2008-12-22Fix missing symbols issues when building with shared libraries.Jelmer Vernooij1-0/+2
2008-12-17s4:lib/tevent: add lib/events/ compat and let things compileStefan Metzmacher1-1/+1
metze
2008-11-03s4:torture: PROVISION isn't used by all testsStefan Metzmacher1-1/+2
We should not pollute all torture object files with EXT_LIB_PYTHON_CFLAGS metze
2008-10-24Move charset library to top level.Jelmer Vernooij1-2/+2