summaryrefslogtreecommitdiff
path: root/source4/torture/ui.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij1-8/+8
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10r25514: don't blindly overwrite the result last_reason,Stefan Metzmacher1-0/+5
print the old one as warning... metze (This used to be commit 9dd66317bdc50bb39ca2c2b14635647b361d5867)
2007-10-10r25430: Add the loadparm context to all parametric options.Jelmer Vernooij1-4/+4
(This used to be commit fd697d77c9fe67a00939a1f04b35c451316fff58)
2007-10-10r25191: Fix include for BSD systems.Jelmer Vernooij1-0/+1
(This used to be commit 24a0df29677e6392aa88f4400e08effc29de9366)
2007-10-10r25112: make torture_temp_dir() available via tortore/torture.hStefan Metzmacher1-0/+19
and return more detailed errors metze (This used to be commit c2b645c8763fd75a0a81983ec44a5990670c4fc4)
2007-10-10r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij1-4/+4
number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij1-0/+1
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r25003: Skipped tests should be considered successfull.Jelmer Vernooij1-0/+1
(This used to be commit 919b362009b4023e8114ec681a3528854e5271bb)
2007-10-10r24994: Fix some C++ warnings.Jelmer Vernooij1-4/+4
(This used to be commit 925abf74fa1ed5ae726bae8781ec549302786b39)
2007-10-10r24898: Fix LOCAL-REGISTRY, do not silently ignore testcase setup failures.Jelmer Vernooij1-23/+32
(This used to be commit 527ea7fccf4ace9cd9cbacf49820ecd208b8d570)
2007-10-10r24846: Use metadata about dangerous tests.Jelmer Vernooij1-15/+18
(This used to be commit f914b828ff486d41e123e6dafa1c8fd76b34b44b)
2007-10-10r24741: More use of the torture API.Jelmer Vernooij1-6/+18
(This used to be commit de05c3651a6e9e6611b296873526afd9292327c1)
2007-10-10r24728: Use more stock torture functions.Jelmer Vernooij1-0/+6
(This used to be commit da3a7ee407a2b41bd01f45072cad12bf29250b33)
2007-10-10r24667: Finally merge the registry improvements that Wilco Baan Hofman and I ↵Jelmer Vernooij1-0/+34
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 7a1eec6358bc863dfc671c542b7185d3e39d7b5a)
2007-10-10r24333: Add convenience function for checking the contents of a file in tests.Jelmer Vernooij1-1/+1
(This used to be commit 4e304101241ea7bcb9111b757bb51b16665d492d)
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-10r21707: Finally merge my (long-living) perlselftest branch.Jelmer Vernooij1-0/+16
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-10r21055: Fix executable bit.Jelmer Vernooij1-26/+2
(This used to be commit 7512270ffae4e72d70f6ca347f09708f1bf915ad)
2007-10-10r21040: Remove subunit runner (now written in perl in my perlselftest branch)Jelmer Vernooij1-3/+0
(This used to be commit afe0d170b08deb712b91ee73cc00a444e989b480)
2007-10-10r19537: Report correct test names when tests failed.Jelmer Vernooij1-1/+1
(This used to be commit 7b93b3c8be3d2a253b0737be893e7eb1b7c94dba)
2007-10-10r19387: Exit with 0 if failures were expectedJelmer Vernooij1-1/+3
(This used to be commit b4fc06aeafa3ed8460759409a72b4de43a534d62)
2007-10-10r19381: Print out the specific tests that failed after a smbtorture run.Jelmer Vernooij1-8/+65
Support listing known failures as a list of wildcards in the file `KNOWN_FAILURES'. (This used to be commit 23f66efd564d1ad549fc0cd60348f54808f5cafa)
2007-10-10r19378: Add another type of test result 'error'Jelmer Vernooij1-4/+4
(This used to be commit 77d13056bf437de77bfc94e21e9c945928e7f521)
2007-10-10r19377: Simplify report functions.Jelmer Vernooij1-20/+6
(This used to be commit 0061f3c47e95f07461837c4051cf129b18961b56)
2007-10-10r19376: Remove unused helper function.Jelmer Vernooij1-6/+0
(This used to be commit 88c589940dfbc04c747cea4f97c84142ea139050)
2007-10-10r19372: Fix segfault for ui's that don't support comments.Jelmer Vernooij1-1/+2
(This used to be commit 0eef6dabc6b6a4e883654c78a0b88cebb6b3d7cd)
2007-10-10r19350: Properly list LOCAL-TALLOC under the "LOCAL" header.Jelmer Vernooij1-2/+7
Support directories for subcategories in tests. Several small other fixes. (This used to be commit bde00d97068d559b025ab131ff698a82430d14b3)
2007-10-10r19343: Add support for external scripts/binaries that write results using theJelmer Vernooij1-16/+32
'subunit' protocol. This allows us to easily plug EJS scripts or binaries that can't depend on -ltorture into smbtorture. The protocol is very simple: - write "comments" to stderr Example output on stdout: test: foo success: foo test: bar success: bar test: blah failure: blah [ dummy.c:30: Expression 1 != 2 failed! ] test: blie skip: blie [ Iconv support not built in ] I've already converted the talloc testsuite. (This used to be commit e1742c14a247fabba969f8698108e73997d3f420)
2007-10-10r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grainedJelmer Vernooij1-32/+141
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-10r19298: make sure torture_fail() gives a useful messageAndrew Tridgell1-0/+2
Jelmer, is there a better approach for this? (This used to be commit 67e2cf921709e0833362cb3b1bd5558f3c359033)
2007-10-10r18517: I find it less confusing if tests are run in the order they areAndrew Tridgell1-1/+1
added. (This used to be commit 3e1844b2b229d6e84436d6c455bef707d0efcafc)
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-10r16489: Because the torture/ui.h file isn't automaticly generated, theAndrew Bartlett1-3/+3
prototypes in it need to use the PRINTF_ATTRIBUTE() macro, rather than _PRINTF_ATTRIBUTE() (which becomes PRINTF_ATTRIBUTE() only in proto files, but not C files). This found a number of missing descriptions in the LOCAL-SOCKET test. Andrew Bartlett (This used to be commit 1009d55c8caa173e9998b38235c06b4ae4b30d80)
2007-10-10r16441: - give old tests a chance to report errorsStefan Metzmacher1-2/+6
- display the correct test name metze (This used to be commit 7d62b0b7e96222f29dd3cd6066523f517d757620)
2007-10-10r16332: Fix two small bugs found by the buildfarm.Jelmer Vernooij1-5/+7
(This used to be commit 3decb34bb607b83f72deaa4baca935f4f253e2f2)
2007-10-10r16328: Wrap all existing tests in simple single-function testsuites.Jelmer Vernooij1-30/+23
(This used to be commit 7e811adf59841936b7e634fca4e95630f890c5af)
2007-10-10r16321: Add suite_start/suite_finish hooks, support --format=quietJelmer Vernooij1-10/+37
(This used to be commit 6da39533d77f686b26787bebfe9e3db4bb8c740d)
2007-10-10r16315: Convert to new API.Jelmer Vernooij1-26/+35
(This used to be commit 0e52a831ed88b5d61033aee56a17e49b84df6773)
2007-10-10r16304: Improve testing UI API. This now allows registering the fullJelmer Vernooij1-51/+178
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-10r16174: Couple of fixes to the UI code - make 'torture_ok()' optional, be ↵Jelmer Vernooij1-1/+17
more verbose by default. (This used to be commit 8ef13a50b9e80811342058cdf15cf84a8ed7532e)
2007-10-10r16165: Add some more helper utilitiesJelmer Vernooij1-0/+5
(This used to be commit 584cd50d2bbace27220427ab23d032b2aab7f047)
2007-10-10r15818: Improve UI utilities: allow format strings and add some convenience ↵Jelmer Vernooij1-5/+18
macros. (This used to be commit f0a4547b76bdc04c4dd32fccbb1a37a040868588)
2007-10-10r14723: Keep statisticsJelmer Vernooij1-0/+3
(This used to be commit 9d6eefad3a45aba52247d4364c9ef5a538f0abd5)
2007-10-10r14720: Add torture_context argument to all torture testsJelmer Vernooij1-1/+1
(This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
2007-10-10r14718: Add initial work on a standardized UI for smbtortureJelmer Vernooij1-0/+76
(This used to be commit a15a8d87b50fe3011c009d3c030cf54ec86540b4)