summaryrefslogtreecommitdiffstats
path: root/source4/torture/torture.c
Commit message (Collapse)AuthorAgeFilesLines
* s4-torture Enable libnetapi and libsmbclient tests using combined buildAndrew Bartlett2011-06-211-14/+0
| | | | | | | | | | | | | | | Because we now always build the source3 code, we can link directly against a private libnetapi and libsmbclient to test the behaviour of these important APIs. We use a private libnetapi_net_init(), and by using this interface rather than the public one, we can ensure that the correct smb.conf is loaded (as smbtorture4 is a Samba4 semantics binary). The #include of the source3 includes.h is required to do the manual lp_load(). Andrew Bartlett
* s4-modules Remove lp_ctx from init functions that no longer need itAndrew Bartlett2011-06-061-1/+1
| | | | | | | | Now that we don't allow the smb.conf to change the modules dir, many functions that simply load modules or initialise a subsytem that may load modules no longer need an lp_ctx. Andrew Bartlett
* s4-modules: get rid of the remaining static prototypes for modulesAndrew Tridgell2010-11-011-17/+2
| | | | the waf build now generates the prototype declarations for us
* s4 torture: Add tests for dfs referrals handling in SMB/trans2 requestsMatthieu Patou2010-05-181-0/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4-smbtorture: add rather simple libsmbclient torture testsuite.Günther Deschner2010-01-141-0/+8
| | | | Guenther
* s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell2009-10-201-2/+0
| | | | This reduces compile time somewhat.
* s4/drs(tort): TORTURE_DRS torture module - initial implementationKamen Mazdrashki2009-10-161-0/+1
| | | | | | Drsuapi tests module registers two suites: - DRS-RPC - tests to be executed against remote machine - DRS-UNIT - unit test for internal testing
* s4:torture Add test for the NTP signd serverAndrew Bartlett2009-08-111-1/+2
| | | | | | | | This is used by at patch to the NTP project to supply authenticated time as required by MS-SNTP. (ie, to keep windows clients in time sync in the domain) Andrew Bartlett
* s4:torture Make Samba4 build on hosts with an older libnetapiAndrew Bartlett2009-06-041-3/+1
| | | | | | | For example, Samba4 would not build (for the last week) on Fedora 10, with samba-common 3.2.11 installed. Andrew Bartlett
* s4-smbtorture: fix the build w/o libnetapi.Günther Deschner2009-05-291-0/+8
| | | | | | | | | | This is surely the wrong fix, but I could not figure out why the samba4 build system adds the init function although the m4 macro had switched off the torture libnetapi subsystem when the headers and libs were not found. Can one of the samba4 build gurus please have a look ? Guenther
* s4-smbtorture: add very basic LIBNETAPI testsuite.Günther Deschner2009-05-291-0/+1
| | | | Guenther
* Rename the top-level LDB test to LOCAL-LDB, so it gets picked up by theJelmer Vernooij2009-04-241-1/+0
| | | | script that determines the tests to run.
* Fix missing symbols issues when building with shared libraries.Jelmer Vernooij2008-12-221-1/+1
|
* s4:torture: add ldb testsAndrew Bartlett2008-12-171-0/+1
| | | | | | | | These tests are for both the new extended DN functionality (and were vital in finding bugs during implementation) and for the normal DN parsing and comparison routines. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Make sure prototypes are always included, make some functions static andJelmer Vernooij2008-10-201-0/+1
| | | | remove some unused functions.
* Fix include paths to new location of libutil.Jelmer Vernooij2008-10-111-1/+1
|
* Fix torture module initializion.Jelmer Vernooij2008-05-101-1/+1
| | | | (This used to be commit d5bf4e9065303b54421a6f35b213a22f062d27d4)
* Revert "Remove copy of torture file."Jelmer Vernooij2008-05-101-0/+71
| | | | | This reverts commit 89bfca2da2b614e979a20c9a293b798ed7ae15ae. (This used to be commit c6c4349c44cb6479fa7aa129931ff9ac88068ba6)
* Remove copy of torture file.Jelmer Vernooij2008-05-101-71/+0
| | | | (This used to be commit 89bfca2da2b614e979a20c9a293b798ed7ae15ae)
* Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij2008-04-081-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: source/auth/credentials/config.mk source/auth/gensec/config.mk source/build/smb_build/makefile.pm source/heimdal_build/config.mk source/lib/events/config.mk source/lib/nss_wrapper/config.mk source/lib/policy/config.mk source/lib/registry/config.mk source/lib/socket_wrapper/config.mk source/lib/tdb/config.mk source/lib/tls/config.mk source/lib/util/config.mk source/libcli/config.mk source/libcli/ldap/config.mk source/libnet/config.mk source/librpc/config.mk source/param/config.mk source/rpc_server/config.mk source/scripting/ejs/config.mk source/smbd/process_model.mk (This used to be commit 760378e0294dd0cd4523a83448328478632d7e3d)
| * Install public header files again and include required prototypes.Jelmer Vernooij2008-04-021-1/+1
| | | | | | | | (This used to be commit 47ffbbf67435904754469544390b67d34c958343)
* | Fix the build.Jelmer Vernooij2008-03-081-8/+12
| | | | | | | | (This used to be commit f2e49744717eb46bbfafeea9e2eb412a38a142e7)
* | Push SOVERSION and VERSION out of perl code.Jelmer Vernooij2008-03-081-1/+8
|/ | | | (This used to be commit 0ba8ac6a14c62ff9edfe9f0bf43b8a7406b85291)
* r26690: torture: Move torture_context_init() to the ui.c, where all ↵Jelmer Vernooij2008-01-071-17/+1
| | | | | | functions related to it are. (This used to be commit 5f6cc640758448df9c8ad4eba1ffa12ce0c3f732)
* r26580: Include sentinel in build.h, in case the list is empty.Jelmer Vernooij2007-12-241-1/+1
| | | | (This used to be commit f1997dabed584bdc864c4b7235c29603c312ef46)
* r26576: Allow the static module loading code to be used for the Python modules.Jelmer Vernooij2007-12-241-1/+1
| | | | | Simplify the way module initialization functions are handled. (This used to be commit ba8be2dfc0de4434c798663336b81f7f95cde520)
* r26355: Eliminate global_loadparm in more places.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit 5d589a0d94bd76a9b4c9fc748854e8098ea43c4d)
* r25446: Merge some changes I made on the way home from SFO:Jelmer Vernooij2007-10-101-1/+1
| | | | | | | | 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 3468952e771ab31f90b6c374ade01c5550810f42)
* r25026: Move param/param.h out of includes.hJelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
* r24852: Fix initializationJelmer Vernooij2007-10-101-1/+1
| | | | (This used to be commit 1e56698f1bac30a1d6b7558df41e85db3d2571db)
* r24851: Add --load-module argument to smbtorture.Jelmer Vernooij2007-10-101-4/+4
| | | | (This used to be commit 76a713b6786e22b810937289b3e7cc6700a0b49d)
* r23792: convert Samba4 to GPLv3Andrew Tridgell2007-10-101-3/+2
| | | | | | 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 fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
* r22969: fix some more places where we could end up with more than one eventAndrew Tridgell2007-10-101-2/+5
| | | | | | 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 c0f65eb6562e13530337c23e3447a6aa6eb8fc17)
* r21745: indentAndrew Bartlett2007-10-101-1/+1
| | | | (This used to be commit 7841b299061ec8f4f6a14720dbe4fa7108313848)
* r21707: Finally merge my (long-living) perlselftest branch.Jelmer Vernooij2007-10-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | | This changes the main selftest code to be in perl rather than in shell script. The selftest script is now no longer a black box but a regular executable that takes --help. This adds the following features: * "make test TESTS=foo" will run only the tests that match the regex "foo" * ability to deal with expected failures. the suite will not warn about tests that fail and are known to fail, but will warn about other failing tests and tests that are succeeding tests but incorrectly marked as failing. * ability to print a summary with all failures at the end of the run It also opens up the way to the following features, which I hope to implement later: * "environments", for example having a complete domains with DCs and domain members in a testenvironment * only set up smbd if necessary (not when running LOCAL tests, for example) * different mktestsetup scripts per target. except for the mktestsetup script, we can use the same infrastructure for samba 3 or windows. (This used to be commit 38f867880beb40c691e9713f854426031310629c)
* r21222: Merge a couple of pidl fixes:Jelmer Vernooij2007-10-101-1/+0
| | | | | | | | | * 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. (This used to be commit 37c0da541e3962164d5af3e3c9560803a733f3b7)
* r21066: Fix the build (uninitialised variable).Jelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit 54b63787606f392e094fe28c2536999c34f76f44)
* r21055: Fix executable bit.Jelmer Vernooij2007-10-101-5/+0
| | | | (This used to be commit 7512270ffae4e72d70f6ca347f09708f1bf915ad)
* r19556: Remove unused option.Jelmer Vernooij2007-10-101-1/+0
| | | | (This used to be commit 827af8654940243c21eb12e9f1934a13272a6b00)
* r19510: Make smbtorture's `nprocs' parameter a parametric option.Jelmer Vernooij2007-10-101-1/+0
| | | | (This used to be commit f5d6b3ca29788d171d53822a26295ae895a5ed8f)
* r19387: Exit with 0 if failures were expectedJelmer Vernooij2007-10-101-0/+2
| | | | (This used to be commit b4fc06aeafa3ed8460759409a72b4de43a534d62)
* r19381: Print out the specific tests that failed after a smbtorture run.Jelmer Vernooij2007-10-101-0/+15
| | | | | | Support listing known failures as a list of wildcards in the file `KNOWN_FAILURES'. (This used to be commit 23f66efd564d1ad549fc0cd60348f54808f5cafa)
* r19350: Properly list LOCAL-TALLOC under the "LOCAL" header.Jelmer Vernooij2007-10-101-27/+8
| | | | | | Support directories for subcategories in tests. Several small other fixes. (This used to be commit bde00d97068d559b025ab131ff698a82430d14b3)
* r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grainedJelmer Vernooij2007-10-101-24/+3
| | | | | | | | | | | | | | | | | | | 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 0eb6097305776325c75081356309115f445a7218)
* r18994: - torture_register_suite should be publicStefan Metzmacher2007-10-101-6/+3
| | | | | | | - some whitespace cleanups metze (This used to be commit 49755f2224df7e4448853bbe493b6aeeac365cb2)
* r17930: Merge noinclude branch:Jelmer Vernooij2007-10-101-1/+1
| | | | | | | * Move dlinklist.h, smb.h to subsystem-specific directories * Clean up ads.h and move what is left of it to dsdb/ (only place where it's used) (This used to be commit f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)
* r16557: Silently succeed when torture_register_suite is passed NULL.James Peach2007-10-101-0/+4
| | | | (This used to be commit dbcb190aa0a687e62cc109ab6314aa705a0c7aca)
* r16333: Move more code out of the core smbtorture. It now no longerJelmer Vernooij2007-10-101-684/+1
| | | | | contains protocol-specific code. (This used to be commit 819d3b457648ffb7526a770e842badc17b6061fb)
* r16331: Split out registering of multi fn tests, fix typo in name of pac suite.Jelmer Vernooij2007-10-101-78/+80
| | | | (This used to be commit 9e8574ac6cd38d1ff388f0c9ff37d86b316a431e)
* r16329: Convert to new UI API.Jelmer Vernooij2007-10-101-1/+1
| | | | (This used to be commit c7d1d86853eb659ee4a5cbfb4ff65b31f6fe0375)