summaryrefslogtreecommitdiff
path: root/source4/script/tests/test_ejs.sh
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r22156: - Lazy evaluate variable names.Jelmer Vernooij1-16/+5
- Don't set up environments until necessary - Add --resetup-environment option - Add 'none' environment (This used to be commit ed0410309bfdefb0d31cb247c26b947956fb1137)
2007-10-10r21910: Clean up some unused functions.Jelmer Vernooij1-9/+7
(This used to be commit 36cd3406db06e3101cfede2f3935879cb11eeb93)
2007-10-10r21909: Merge some of my recent improvements to the test infrastructure:Jelmer Vernooij1-7/+7
- Allow tests to specify what environment they need to run in (dc and none are thecurrent supported ones). - Move more Samba4-specific code out of the common code (This used to be commit dbe9de10287c902f4a5ea5d431dea4a79f9b170b)
2007-10-10r21707: Finally merge my (long-living) perlselftest branch.Jelmer Vernooij1-5/+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/+3
be used for other selftest implementations (in particular the perl one I've been working on). (This used to be commit aa29907327a91a64c769b1f2712f553e13964418)
2007-10-10r21029: - Remove now unused failure checking codeJelmer Vernooij1-8/+7
- Use --list option for smbtorture for local and nbt tests as well (This used to be commit 053d5a40bc96b9503220f17f59677a0df6677a1e)
2007-10-10r20167: reenable the ejsnet testsStefan Metzmacher1-1/+1
metze (This used to be commit 1e4289fae4fb71725d9c37ed772eab0ff5853e65)
2007-10-10r20164: Disable the test till tomorrow when I find out what causedRafal Szczesniak1-1/+1
the crash. rafal (This used to be commit 5d7908038b6508f53cc8714f73ae7c5bfc6bce58)
2007-10-10r18721: Fix base and samba3sam EJS tests to work without installation.Jelmer Vernooij1-2/+2
(This used to be commit d062e101664a90f2f7bf0980449f920aa719ee76)
2007-10-10r17547: Add test by mkhl for some of our variable substituion behaviour.Andrew Bartlett1-0/+2
Andrew Bartlett (This used to be commit c2c72565e4efef44068c4f176619942f60a9cf6e)
2007-10-10r17543: Patch from Martin Kühl <martin.kuehl@gmail.com> to extend theAndrew Bartlett1-0/+3
samba3sam test cases for ldb_map, and to include this into our default 'make test'. (This used to be commit f69a842314b3d5c57c3fa1f5b1bae3ee6d42da2b)
2007-10-10r16914: Add more tests for the partition module.Andrew Bartlett1-1/+3
Andrew Bartlett (This used to be commit 2728b60dfa50ded03e06f0bd53eee55fce5143bd)
2007-10-10r15665: ejsnet test should be better now, after changes in deleteRafal Szczesniak1-1/+1
user routine. rafal (This used to be commit 9bb54159298d7cf59bbc8be0657968fa957fa9e6)
2007-10-10r15627: Disabling test of ejsnet till the time I find the reason whyRafal Szczesniak1-1/+1
it's segfaulting. It's late so I just don't want to keep the build farm all in red PANIC messages. rafal (This used to be commit 6c41e64ce7a11a439cc720966b127e42b53c8711)
2007-10-10r12892: Add a 'Migrate from Windows' page to our installation section in SWAT.Andrew Bartlett1-2/+4
Doing this required reworking ejsnet, particularly so it could take a set of credentials, not just a username and password argument. This required fixing the ejsnet.js test script, which now adds and deletes a user, and is run from 'make test'. This should prevent it being broken again. Deleting a user from ejsnet required that the matching backend be added to libnet, hooking fortunetly onto already existing code for the actual deletion. The js credentials interface now handles the 'set machine account' flag. New functions have been added to provision.js to wrap the basic operations (so we can write a command line version, as well as the web based version). Andrew Bartlett (This used to be commit a5e7c17c348c45e61699cc1626a0d5eae2df4636)
2007-10-10r9493: our test scripts need to use testok at the end or the errors don't ↵Andrew Tridgell1-0/+2
annumulate between scripts this is why the GetOptions bug wasn't caught by 'make test' (This used to be commit 20a14b9b35c928a592cf03ebedbc6c89f756af28)
2007-10-10r9377: made winreg a user tool (I find it quite useful). I expect it to get ↵Andrew Tridgell1-0/+1
the ability to add/remove keys and values in the future. add it to the standard tests, ensuring that we know if winreg breaks. This is particularly important as winreg uses such unusual IDL constructs (This used to be commit e4ca36bda34cf5e6fecaef5fe60e5dd397ebee3c)
2007-10-10r8636: fixed the ejs ldb test to work with the new ldb.search() syntax, andAndrew Tridgell1-1/+1
add it to our test suite so it will be maintained (This used to be commit 42ae50db8108ddc7c33f832d8752f809c99de157)
2007-10-10r8301: use ncalrpc: for ejs tests, to avoid name resolution timeouts as smbd ↵Andrew Tridgell1-1/+1
is just starting up (This used to be commit c0bf253d4b33e1dd23ce46f867758351ece83755)
2007-10-10r8300: get the js include path right in selftestAndrew Tridgell1-1/+1
(This used to be commit 0e9e541e1e737f35200d64b31ddb4d468ff19518)
2007-10-10r8271: make the ejs test scripts directly executable scripts using:Andrew Tridgell1-1/+4
#!/usr/bin/env smbscript I'll be interested to see how portable this is in the build farm. (This used to be commit 757c22aab43fadc776006ac5970dbfb46a13fa3c)
2007-10-10r8269: added automatic testing of rpc calls from ejs in 'make test'Andrew Tridgell1-0/+23
(This used to be commit c760180119b4ac9307783bc50892a3dc57b2465e)