summaryrefslogtreecommitdiff
path: root/source4/torture/torture.c
AgeCommit message (Collapse)AuthorFilesLines
2011-06-06s4-modules Remove lp_ctx from init functions that no longer need itAndrew Bartlett1-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
2010-11-01s4-modules: get rid of the remaining static prototypes for modulesAndrew Tridgell1-17/+2
the waf build now generates the prototype declarations for us
2010-05-18s4 torture: Add tests for dfs referrals handling in SMB/trans2 requestsMatthieu Patou1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-01-14s4-smbtorture: add rather simple libsmbclient torture testsuite.Günther Deschner1-0/+8
Guenther
2009-10-20s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell1-2/+0
This reduces compile time somewhat.
2009-10-16s4/drs(tort): TORTURE_DRS torture module - initial implementationKamen Mazdrashki1-0/+1
Drsuapi tests module registers two suites: - DRS-RPC - tests to be executed against remote machine - DRS-UNIT - unit test for internal testing
2009-08-11s4:torture Add test for the NTP signd serverAndrew Bartlett1-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
2009-06-04s4:torture Make Samba4 build on hosts with an older libnetapiAndrew Bartlett1-3/+1
For example, Samba4 would not build (for the last week) on Fedora 10, with samba-common 3.2.11 installed. Andrew Bartlett
2009-05-29s4-smbtorture: fix the build w/o libnetapi.Günther Deschner1-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
2009-05-29s4-smbtorture: add very basic LIBNETAPI testsuite.Günther Deschner1-0/+1
Guenther
2009-04-24Rename the top-level LDB test to LOCAL-LDB, so it gets picked up by theJelmer Vernooij1-1/+0
script that determines the tests to run.
2008-12-22Fix missing symbols issues when building with shared libraries.Jelmer Vernooij1-1/+1
2008-12-17s4:torture: add ldb testsAndrew Bartlett1-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>
2008-10-20Make sure prototypes are always included, make some functions static andJelmer Vernooij1-0/+1
remove some unused functions.
2008-10-11Fix include paths to new location of libutil.Jelmer Vernooij1-1/+1
2008-05-10Fix torture module initializion.Jelmer Vernooij1-1/+1
(This used to be commit d5bf4e9065303b54421a6f35b213a22f062d27d4)
2008-05-10Revert "Remove copy of torture file."Jelmer Vernooij1-0/+71
This reverts commit 89bfca2da2b614e979a20c9a293b798ed7ae15ae. (This used to be commit c6c4349c44cb6479fa7aa129931ff9ac88068ba6)
2008-05-10Remove copy of torture file.Jelmer Vernooij1-71/+0
(This used to be commit 89bfca2da2b614e979a20c9a293b798ed7ae15ae)
2008-04-08Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij1-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)
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij1-1/+1
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-03-08Fix the build.Jelmer Vernooij1-8/+12
(This used to be commit f2e49744717eb46bbfafeea9e2eb412a38a142e7)
2008-03-08Push SOVERSION and VERSION out of perl code.Jelmer Vernooij1-1/+8
(This used to be commit 0ba8ac6a14c62ff9edfe9f0bf43b8a7406b85291)
2008-01-07r26690: torture: Move torture_context_init() to the ui.c, where all ↵Jelmer Vernooij1-17/+1
functions related to it are. (This used to be commit 5f6cc640758448df9c8ad4eba1ffa12ce0c3f732)
2007-12-24r26580: Include sentinel in build.h, in case the list is empty.Jelmer Vernooij1-1/+1
(This used to be commit f1997dabed584bdc864c4b7235c29603c312ef46)
2007-12-24r26576: Allow the static module loading code to be used for the Python modules.Jelmer Vernooij1-1/+1
Simplify the way module initialization functions are handled. (This used to be commit ba8be2dfc0de4434c798663336b81f7f95cde520)
2007-12-21r26355: Eliminate global_loadparm in more places.Jelmer Vernooij1-1/+1
(This used to be commit 5d589a0d94bd76a9b4c9fc748854e8098ea43c4d)
2007-10-10r25446: Merge some changes I made on the way home from SFO:Jelmer Vernooij1-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)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij1-0/+1
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r24852: Fix initializationJelmer Vernooij1-1/+1
(This used to be commit 1e56698f1bac30a1d6b7558df41e85db3d2571db)
2007-10-10r24851: Add --load-module argument to smbtorture.Jelmer Vernooij1-4/+4
(This used to be commit 76a713b6786e22b810937289b3e7cc6700a0b49d)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-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)
2007-10-10r22969: fix some more places where we could end up with more than one eventAndrew Tridgell1-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)
2007-10-10r21745: indentAndrew Bartlett1-1/+1
(This used to be commit 7841b299061ec8f4f6a14720dbe4fa7108313848)
2007-10-10r21707: Finally merge my (long-living) perlselftest branch.Jelmer Vernooij1-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)
2007-10-10r21222: Merge a couple of pidl fixes:Jelmer Vernooij1-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)
2007-10-10r21066: Fix the build (uninitialised variable).Jelmer Vernooij1-0/+1
(This used to be commit 54b63787606f392e094fe28c2536999c34f76f44)
2007-10-10r21055: Fix executable bit.Jelmer Vernooij1-5/+0
(This used to be commit 7512270ffae4e72d70f6ca347f09708f1bf915ad)
2007-10-10r19556: Remove unused option.Jelmer Vernooij1-1/+0
(This used to be commit 827af8654940243c21eb12e9f1934a13272a6b00)
2007-10-10r19510: Make smbtorture's `nprocs' parameter a parametric option.Jelmer Vernooij1-1/+0
(This used to be commit f5d6b3ca29788d171d53822a26295ae895a5ed8f)
2007-10-10r19387: Exit with 0 if failures were expectedJelmer Vernooij1-0/+2
(This used to be commit b4fc06aeafa3ed8460759409a72b4de43a534d62)
2007-10-10r19381: Print out the specific tests that failed after a smbtorture run.Jelmer Vernooij1-0/+15
Support listing known failures as a list of wildcards in the file `KNOWN_FAILURES'. (This used to be commit 23f66efd564d1ad549fc0cd60348f54808f5cafa)
2007-10-10r19350: Properly list LOCAL-TALLOC under the "LOCAL" header.Jelmer Vernooij1-27/+8
Support directories for subcategories in tests. Several small other fixes. (This used to be commit bde00d97068d559b025ab131ff698a82430d14b3)
2007-10-10r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grainedJelmer Vernooij1-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)
2007-10-10r18994: - torture_register_suite should be publicStefan Metzmacher1-6/+3
- some whitespace cleanups metze (This used to be commit 49755f2224df7e4448853bbe493b6aeeac365cb2)
2007-10-10r17930: Merge noinclude branch:Jelmer Vernooij1-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)
2007-10-10r16557: Silently succeed when torture_register_suite is passed NULL.James Peach1-0/+4
(This used to be commit dbcb190aa0a687e62cc109ab6314aa705a0c7aca)
2007-10-10r16333: Move more code out of the core smbtorture. It now no longerJelmer Vernooij1-684/+1
contains protocol-specific code. (This used to be commit 819d3b457648ffb7526a770e842badc17b6061fb)
2007-10-10r16331: Split out registering of multi fn tests, fix typo in name of pac suite.Jelmer Vernooij1-78/+80
(This used to be commit 9e8574ac6cd38d1ff388f0c9ff37d86b316a431e)
2007-10-10r16329: Convert to new UI API.Jelmer Vernooij1-1/+1
(This used to be commit c7d1d86853eb659ee4a5cbfb4ff65b31f6fe0375)
2007-10-10r16328: Wrap all existing tests in simple single-function testsuites.Jelmer Vernooij1-32/+84
(This used to be commit 7e811adf59841936b7e634fca4e95630f890c5af)