summaryrefslogtreecommitdiff
path: root/source4/torture/torture.c
AgeCommit message (Collapse)AuthorFilesLines
2008-04-14Remove prototypes from build.h in preparation of removing build.hJelmer Vernooij1-0/+12
altogether. (This used to be commit dbeab2a9cdee4e5f69afeb2603ba29cbed56debd)
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij1-1/+1
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
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)
2007-10-10r16304: Improve testing UI API. This now allows registering the fullJelmer Vernooij1-1/+1
test suite tree, looks a bit more like other unit testing API's, fixes some memory responsibility issues, introduces testcases, and removes the need for tests to call torture_ok(). (This used to be commit 0445b1a56a02552f895f400960b9ced39244a144)
2007-10-10r16149: This is a very Samba3 specific test: It tests whether 'hide ↵Volker Lendecke1-0/+1
unreadable' and 'hide unwriteable files' actually do what they are supposed to do. Volker (This used to be commit 7bf02a5e0f2c53bd516033d31466cd0cf22d3496)
2007-10-10r15957: - add a test that fetches the schema from an windows LDAP server,Stefan Metzmacher1-0/+1
and stores it into structures. - this prints out some useful information on the screen about attributes (will be extended for objectClasses too) - the plan is to create hide the relation of structures behind an interface we can later use this interface in a lot of places: - our schema module for ldb - the ndr_print code for DsGetNCChanges, to translate the uint32 attribute and objectClass id's into names, display attribute values depending on the attribute syntax - ... metze (This used to be commit 1908f0cd6230c22aabb0e1eab2f9d37d17f12f18)
2007-10-10r15892: Remove the COM management code - DCOM should beJelmer Vernooij1-1/+0
based on Mono and its' COM support and utilize Samba's DCE/RPC + ORPC code instead of having our own COM implementation in Samba, which is too much work to implement and harder to code (C). This only removes some of the code that I started working on to implement the bits of COM I thought were needed to support DCOM from just Samba. This code has never functioned properly, contains a couple of nasty hacks and there should be no reason to pick it up again later, the processes are all documented in the DCOM whitepaper. This does NOT remove the marshalling code for the ORPC code or the torture code that tested some of the ORPC code. (This used to be commit 11df14219bf0b35329b293cae3234e064aabde54)
2007-10-10r15862: add a LOCAL-EVENT torture testStefan Metzmacher1-0/+1
- it currently tests the standard events code - with epoll enabled and disabled metze (This used to be commit ce5fd2293d5ce1f6a54048bc5662706943c98eb5)
2007-10-10r15816: add SMB2-LOCK torture test, which demonstrates what possible valid ↵Stefan Metzmacher1-0/+1
and invalid requests you can do with it metze (This used to be commit adef1372c118b6c116dfa976d0277be677118fd0)
2007-10-10r15594: Remove another unused includeJelmer Vernooij1-1/+0
(This used to be commit 0c078988715744bb4cbdf210d8ac9d7782135737)
2007-10-10r15456: Inspired by a short discussion with abartlet on IRC.Rafal Szczesniak1-0/+1
- create "async" parameter for smbtorture to categorise async tests potentially hard for windows servers - create "num-async" parameter to specify the number of simultaneous async requests to be made - move RPC-ASYNCBIND test from "dangerous" to "async" (I should probably do the same for many others async tests...) It's an interesting way to determine resources availability on windows servers... rafal (This used to be commit 0d008fbea0aec279d389cff676a4319262475d17)
2007-10-10r15014: added a simple batch oplock benchmarkAndrew Tridgell1-0/+1
Jeremy, Samba3 currently fails this test with a 2.6.16-rc6 kernel and kernel oplocks enabled. With kernel oplock off it passes, though its a bit slow (This used to be commit 99df20246049c2645b04d5790b9e41c607872dc7)
2007-10-10r14817: rename some testsStefan Metzmacher1-2/+4
tridge: is SCAN-EAMAX ok? metze (This used to be commit d8529ec2ee079d4ff17681a5d35d260fd3313e88)
2007-10-10r14720: Add torture_context argument to all torture testsJelmer Vernooij1-7/+7
(This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
2007-10-10r14542: Remove librpc, libndr and libnbt from includes.hJelmer Vernooij1-0/+1
(This used to be commit 51b4270513752d2eafbe77f9de598de16ef84a1f)
2007-10-10r14527: Fix build problems.Jelmer Vernooij1-74/+0
(This used to be commit 863ca4014d9b821706ee90f58ab5d5cf3899a4c7)
2007-10-10r14525: Sort list of torture tests alphabeticallyJelmer Vernooij1-19/+16
(This used to be commit 48941ecc870ac96a944beb5657950ad3ec1f1f11)
2007-10-10r14524: Make TORTURE_NET a separate moduleJelmer Vernooij1-17/+5
Add new header for torture utility functions, so torture.h doesn't need to depend on the SMB libraries (This used to be commit ab162bcafc666f226332d4678b0875139a0d65c2)
2007-10-10r14520: Split up smbtorture binary into a core (torture.c) and UI frontend ↵Jelmer Vernooij1-338/+6
(smbtorture.c) (This used to be commit 7f9c11e7b1d7f6ce943900860febe0f43ea6548e)
2007-10-10r14519: Put base registration in a seperate file, as well as someJelmer Vernooij1-1596/+62
of the base tests that were currently in torture.c (This used to be commit 4e7c3c7e1fe383b37d90954982e8bf150a06663a)
2007-10-10r14497: Fix build with shared librariesJelmer Vernooij1-5/+0
(This used to be commit c74fc55831ca24819ae7f5e0920d0351e2b46a08)
2007-10-10r14464: Don't include ndr_BASENAME.h files unless strictly required, insteadJelmer Vernooij1-0/+1
try to include just the BASENAME.h files (containing only structs) (This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
2007-10-10r14437: fix warningsStefan Metzmacher1-2/+2
metze (This used to be commit 2017c2573ecbe49b5b7456bfcc3e1c7ca5934a54)