summaryrefslogtreecommitdiff
path: root/source4/torture/ui.h
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r24728: Use more stock torture functions.Jelmer Vernooij1-0/+4
(This used to be commit da3a7ee407a2b41bd01f45072cad12bf29250b33)
2007-10-10r24667: Finally merge the registry improvements that Wilco Baan Hofman and I ↵Jelmer Vernooij1-0/+21
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-2/+25
(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-10r22969: fix some more places where we could end up with more than one eventAndrew Tridgell1-0/+1
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-10r21710: Add client support for the UNIX_INFO2 info level in the QueryFile,James Peach1-0/+10
QueryPath and FindFirst calls. Add a new torture test to verify the server side. (This used to be commit 7f56da2d1fa0718e5282bb4aea7d9a63a62f0bc7)
2007-10-10r21707: Finally merge my (long-living) perlselftest branch.Jelmer Vernooij1-0/+7
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-16/+2
(This used to be commit 7512270ffae4e72d70f6ca347f09708f1bf915ad)
2007-10-10r21040: Remove subunit runner (now written in perl in my perlselftest branch)Jelmer Vernooij1-1/+0
(This used to be commit afe0d170b08deb712b91ee73cc00a444e989b480)
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-5/+14
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-2/+4
(This used to be commit 77d13056bf437de77bfc94e21e9c945928e7f521)
2007-10-10r19377: Simplify report functions.Jelmer Vernooij1-22/+19
(This used to be commit 0061f3c47e95f07461837c4051cf129b18961b56)
2007-10-10r19376: Remove unused helper function.Jelmer Vernooij1-3/+0
(This used to be commit 88c589940dfbc04c747cea4f97c84142ea139050)
2007-10-10r19350: Properly list LOCAL-TALLOC under the "LOCAL" header.Jelmer Vernooij1-0/+4
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-0/+9
'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-63/+167
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-10r16529: Fix type.Jelmer Vernooij1-2/+2
(This used to be commit f9a9884c0da038f2a390444d1ab9219049f95cc3)
2007-10-10r16527: Add target argument for smbtorture.Jelmer Vernooij1-0/+2
Remove duplicate unc path separator conversion. Add prefix for tempdirs. (This used to be commit 3763ed3092fa89558390a9721be8437a7c380790)
2007-10-10r16524: Fix double evaluation.Jelmer Vernooij1-11/+20
(This used to be commit 93f7adfb140d9e77120dd197d05a8fdd50e768bd)
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-10r16328: Wrap all existing tests in simple single-function testsuites.Jelmer Vernooij1-2/+3
(This used to be commit 7e811adf59841936b7e634fca4e95630f890c5af)
2007-10-10r16321: Add suite_start/suite_finish hooks, support --format=quietJelmer Vernooij1-0/+3
(This used to be commit 6da39533d77f686b26787bebfe9e3db4bb8c740d)
2007-10-10r16315: Convert to new API.Jelmer Vernooij1-0/+1
(This used to be commit 0e52a831ed88b5d61033aee56a17e49b84df6773)
2007-10-10r16304: Improve testing UI API. This now allows registering the fullJelmer Vernooij1-22/+78
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-0/+2
more verbose by default. (This used to be commit 8ef13a50b9e80811342058cdf15cf84a8ed7532e)
2007-10-10r16165: Add some more helper utilitiesJelmer Vernooij1-0/+16
(This used to be commit 584cd50d2bbace27220427ab23d032b2aab7f047)
2007-10-10r16160: Fix double semicolon in ui.hJelmer Vernooij1-1/+1
Support output in perl's Test::Harness format (smbtorture output can now be parsed by the 'prove' utility which generates statistics about how much tests failed, succeeded, skipped, etc) (This used to be commit 18fab7a22c85e360d5e4fbb0b2f97504b9a6cfc9)
2007-10-10r15818: Improve UI utilities: allow format strings and add some convenience ↵Jelmer Vernooij1-1/+38
macros. (This used to be commit f0a4547b76bdc04c4dd32fccbb1a37a040868588)
2007-10-10r14723: Keep statisticsJelmer Vernooij1-0/+5
(This used to be commit 9d6eefad3a45aba52247d4364c9ef5a538f0abd5)
2007-10-10r14718: Add initial work on a standardized UI for smbtortureJelmer Vernooij1-0/+52
(This used to be commit a15a8d87b50fe3011c009d3c030cf54ec86540b4)