summaryrefslogtreecommitdiff
path: root/testprogs/blackbox/test_ldb.sh
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r21707: Finally merge my (long-living) perlselftest branch.Jelmer Vernooij1-2/+0
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-10r21700: Run mktestsetup as an external program. This guarantees that it can ↵Jelmer Vernooij1-1/+2
be used for other selftest implementations (in particular the perl one I've been working on). (This used to be commit aa29907327a91a64c769b1f2712f553e13964418)
2007-10-10r21017: Actually run tests during test phase rather than when generating the ↵Jelmer Vernooij1-0/+76
recipe. (This used to be commit b975ce3a471d29fb2c0691c65993f9dfeb066d79)