summaryrefslogtreecommitdiff
path: root/source4/script
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r21720: Try to make 'TEST_LDAP=yes make test' work again. These recentAndrew Bartlett5-15/+15
changes seem to have been lost in the merge, and some variables were not yet exported. Andrew Bartlett (This used to be commit ee9d9fb6c0bd3d4d01dea771025536ff83057072)
2007-10-10r21716: Report status in a way the build farm recognizes.Jelmer Vernooij1-0/+4
(This used to be commit 8d775e87b58d3f6d87338197728530c94b8c841b)
2007-10-10r21713: Redirect stderr output to stdout.Jelmer Vernooij1-1/+1
(This used to be commit a5000b286d6ffb847edf47404f82ff93173208c4)
2007-10-10r21712: Run tdb stress test.Jelmer Vernooij1-0/+2
(This used to be commit e480beb9569421da103aafb440eb687daa2359f3)
2007-10-10r21709: Add a list of tests that should be skipped rather than ad-hoc test ↵Jelmer Vernooij3-44/+36
skipping in various places. (This used to be commit 01befd52111b8c183d78f9e0d80065fe0825b87c)
2007-10-10r21707: Finally merge my (long-living) perlselftest branch.Jelmer Vernooij15-460/+581
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-10r21701: Fix ejs tests.Jelmer Vernooij2-2/+2
(This used to be commit e4cf8f1dea9063b9b83e629ea0e7a116bf4fc5f7)
2007-10-10r21700: Run mktestsetup as an external program. This guarantees that it can ↵Jelmer Vernooij4-18/+17
be used for other selftest implementations (in particular the perl one I've been working on). (This used to be commit aa29907327a91a64c769b1f2712f553e13964418)
2007-10-10r21696: Run the RPC-COUNTCALLS test to try and walk some of the NDR layer forAndrew Bartlett1-3/+3
routines for which we don't have any tests. Andrew Bartlett (This used to be commit e5b9bdf03729a913f3c6cc7709abcbdf50899562)
2007-10-10r21692: Test with LDAP, but without the non-block testing. This is notAndrew Bartlett1-12/+10
compatible with the TLS layer at the moment. https://bugzilla.samba.org/show_bug.cgi?id=4431 Andrew Bartlett (This used to be commit 1e401286f94897f83d89d1a87027e988eb6deac5)
2007-10-10r21689: Try to walk a bit more of the param/loadparm.c functions, as well asAndrew Bartlett1-2/+16
validating that we have a correct configuration before we even start testing. Andrew Bartlett (This used to be commit c399b20b44d396dea69ed81b7d80982611ed25e4)
2007-10-10r21687: Always test LDAP and LDAPSAndrew Bartlett1-2/+1
(This used to be commit e830b815962da575aea9f9dc6bfee8eda8ec43c9)
2007-10-10r21686: Do enable TLS, as we have solved the key setup problems, and we needAndrew Bartlett1-5/+0
to get the TLS code covered. Andrew Bartlett (This used to be commit 4aa928dac3797664c498094f171ef111f10ab30a)
2007-10-10r21685: Add some unit tests for the registry utility functions.Jelmer Vernooij1-1/+1
(This used to be commit 0ae6d18ebe382a378ff1dc65069c629d8060ac2b)
2007-10-10r21680: Reenable CLDAP testJelmer Vernooij1-1/+1
(This used to be commit c6dfc90daf9c7ce0fe9a4d4ac7c1c278a694ef9f)
2007-10-10r21679: Disable upgrade test for now, I can't get it to work.Jelmer Vernooij1-3/+10
(This used to be commit 4929c07261443887608a845de16f1fb786efb7ba)
2007-10-10r21677: Run some of the other ldap tests, tooJelmer Vernooij1-3/+4
(This used to be commit b8f43e1eb1f626690df61e75ce1a06a94d19cf64)
2007-10-10r21676: Run more NET testsJelmer Vernooij1-3/+3
(This used to be commit 06eb2faebb331e9385f39b27e82e399d34b8b938)
2007-10-10r21675: Run some more of the NET tests.Jelmer Vernooij1-1/+1
(This used to be commit 778a150f35152ae435632434561fb205d25bc604)
2007-10-10r21673: Fix Samba 3 data read tests. I can't figure out why the upgrade one ↵Jelmer Vernooij1-0/+1
is broken, so that one is still disabled. (This used to be commit ef794f03d50022a77303c77045a04d9407d07cbc)
2007-10-10r21649: Update self test scripts to start Fedora DS. This requires currentAndrew Bartlett3-30/+35
Fedora DS CVS, plus changes to split up 00core.ldif. Now we 'just' need to work to make the tests pass... Andrew Bartlett (This used to be commit d214cb1ccf1b30cd5cb81f98382626c609b23fa3)
2007-10-10r21618: an attempt to fix the problem with lcov and yacc generated C codeAndrew Tridgell1-2/+2
(This used to be commit e9d17b5ba0846fbe47b5e4001f5f6394884961d1)
2007-10-10r21571: added RPC-HANDLES test to make testAndrew Tridgell2-4/+4
(This used to be commit 73da5e368ba2307051320cd8cb70b3bd8bd04089)
2007-10-10r21554: Use a snippet from tridge's junkcode to cause us to wait for smbd toAndrew Bartlett2-1/+21
exit. If we kill smbd right away, we can interrupt the gcov data file writeout. Instead, we now wait up to 20 seconds for the process to exit, before sending it a kill -9. Andrew Bartlett (This used to be commit c547bce3d305f64d65961051e6462b8c83871f38)
2007-10-10r21535: - fixed a crash in the RAW-ACLS test. When a dcerpc_pipe is createdAndrew Tridgell1-1/+1
using the pattern in the clilsa code, it didn't fill in the p->binding structure. This affects nearly all users of dcerpc_pipe_open_smb(), so the simplest fix is to ensure that dcerpc_pipe_open_smb() initialises the binding if its not already there. - re-enable the RAW-ACLS test (This used to be commit d8875c286d2be49c01703d8fd58bbc1842054bd9)
2007-10-10r21528: This file gets called by testit(), so it shouldn't call testit().Brad Henry1-4/+2
NET tests against Windows weren't getting run, testit() here just created a recipe. (This used to be commit c71dee34025b152d1af209b06023e30d2539fbc0)
2007-10-10r21522: Stop passing the VM config file path to wintest_2k3_dc.sh on the ↵Brad Henry1-1/+1
command line. Forgot this one in the last commit. (This used to be commit 2982d9e90c26a78fb4a38ecaa65c192f5f764bf3)
2007-10-10r21521: Add missing quotes around shell variables which could have spaces.Brad Henry4-12/+10
Stop passing the VM config file path to wintest_2k3_dc.sh on the command line as it is now properly passed through the environment. Windows tests, including the DC tests found in test_w2k3.sh should work properly with 'make wintest' and a configured VMware environment. These tests are executed on build-farm host bnhtest. (This used to be commit 7496a28b4388535a426ca753bc9000670f6e42e1)
2007-10-10r21498: Putting the second parameter in quotes so that we accept spaces in ↵Brad Henry1-1/+1
the config file path. (This used to be commit 7facfe9247e98421e998092482f52db05228ace6)
2007-10-10r21495: Pass the VM .vmx file path to wintest_2k3_dc.sh on the command line.Brad Henry2-1/+2
(This used to be commit 06bf94781e688c57f625161722e0a25af5a8d2e3)
2007-10-10r21494: Fix 'make wintest' to support command-line changes to 'vm-get-ip.pl' ↵Brad Henry8-64/+88
and the revertsnapshot() shell function. Restructure existing tests to work with the recent build farm changes. Added windows DC testing to 'make wintest'. Some improvements and generalization to the way errors are handled. (This used to be commit de9687404e802d7e7629c9d03f496d3c5bd30397)
2007-10-10r21475: Updated vm_get_ip.pl to read the name of the environment variable ↵Brad Henry3-1/+139
containing the VM path from the command line. wintest_2k3_dc.sh is a new script which will run a group of tests against a Windows 2003 DC. The group of tests to run should be passed in on the command line. These tests were taken from the source/script/tests/test_win2k3.sh script. tests_win2k3_dc.sh is a new script intended to be called by 'make wintest_dc' (patch to source/main.mk forthcoming). This is intended to provide the basis for Windows 2003 DC testing in the build farm. In order to use these tests, you should have a DC setup as a VM in VMware server. This process is not automated yet, but can be done by following a few steps: 1. Prepare a Windows 2003 VM in VMware Server by downloading and extracting: svn://svn.samba.org/home/svn/samba/branches/SOC/bnh/vm_setup.tar.gz and following the instructions in the README file. 2. Copying the following file onto the filesystem of the VM configured in step 1: svn://svn.samba.org/home/svn/samba/branches/SOC/bnh/dcpromo_2k3dc_newdomain.answerfile.txt and use it to promote the VM. For example: "dcpromo /answer:<path to answerfile>" 3. On the system you are testing from, set the environment variable WINTESTCONF, and SRCDIR. WINTESTCONF should point to the path of a test_win.conf file modified for your environment. There's a default copy in source/script/tests/win/test_win.conf. SRCDIR should point to the base of your Samba 4 source tree. At that point, you should be able to run wintest_2k3_dc.sh by passing a group of tests at the command line. For example: source/script/tests/win/wintest_2k3_dc.sh RPC-DRSUAPI Sorry for the long-winded commit message! (This used to be commit a0d1c690de2e58eddf5517eb974e09c2bba23605)
2007-10-10r21473: Added new parameters to test_win.conf that apply only to the DC tests.Brad Henry2-3/+41
Made the restore_snapshot() routine in wintest_functions.sh more robust. This change would have broken the existing windows tests, if they weren't already broken. Will fix those once the windows DC tests are committed and working in the build farm. (This used to be commit 76c6c5b8de58618ac013f5b26a6aafc98e15f57c)
2007-10-10r21466: run the LDAP-UPTODATEVECTOR test in make testStefan Metzmacher1-0/+2
metze (This used to be commit 74ded55787d6dee55e87bd55a4f152fa2e8dbeab)
2007-10-10r21433: Get rid of the COM support code - it's not used and unmaintained. We canJelmer Vernooij1-1/+1
always bring it back if we need to. This code was getting in the way while refactoring. Add some tests for TDR. Get rid of typedef in lib/registry/tdr_regf.idl and fix the TDR code to be able to deal with it. (This used to be commit 1ad0f99a439f0d52a735b391bf9900d50171aca5)
2007-10-10r21071: Move some of the key path variables into the mk-keyblobs.sh script.Andrew Bartlett2-14/+3
Andrew Bartlett (This used to be commit 1c466c6d6f02bf76f7f68e7dcd3d9a4c2a63179a)
2007-10-10r21069: Try to split up the mktestsetup.sh script into parts to deal with eachAndrew Bartlett5-337/+356
LDAP implementation, and another to hold the key blobs. Also fix the OpenLDAP test. Andrew Bartlett (This used to be commit ec511c592bbb7df513fe6f62e06e1fa984431550)
2007-10-10r21068: Code to configure, start and stop Fedora DS.Andrew Bartlett2-10/+41
We can't actually use it, as we are stuck inside our socket_wrapper network, and can't talk to it. Andrew Bartlett (This used to be commit bd564da6b9b45c438ef81b42dc156116ed81cbe7)
2007-10-10r21066: Fix the build (uninitialised variable).Jelmer Vernooij1-0/+14
(This used to be commit 54b63787606f392e094fe28c2536999c34f76f44)
2007-10-10r21055: Fix executable bit.Jelmer Vernooij3-0/+0
(This used to be commit 7512270ffae4e72d70f6ca347f09708f1bf915ad)
2007-10-10r21043: Work towards allowing Fedora DS to backend Samba4 in 'make test'.Andrew Bartlett1-0/+58
Andrew Bartlett (This used to be commit 92cea0b79011e9b86ab7e782c83ad5964a5925bd)
2007-10-10r21038: Move commands to distclean targetJelmer Vernooij1-7/+6
(This used to be commit 6713945fbab2df5b695c11df623f16d0abd1a772)
2007-10-10r21032: Skip two more testsJelmer Vernooij1-1/+1
(This used to be commit 65cb965f11534a0636ab083219d84eb78dceecae)
2007-10-10r21031: Skip some tests that were not listed previously.Jelmer Vernooij1-1/+4
(This used to be commit 7b160f18b26a5abe13b1cbc8039e57bd0cee86e0)
2007-10-10r21030: whoops, fix incorrect regexJelmer Vernooij2-2/+4
(This used to be commit 2c6cc617f9cc84c1cd9f6652d3a8ac9c605ab42c)
2007-10-10r21029: - Remove now unused failure checking codeJelmer Vernooij19-52/+40
- Use --list option for smbtorture for local and nbt tests as well (This used to be commit 053d5a40bc96b9503220f17f59677a0df6677a1e)
2007-10-10r21028: Generate list of tests rather than maintaining it manually.Jelmer Vernooij1-26/+1
(This used to be commit 7de4727ceb5935dd5fca49db0331c4509f735362)
2007-10-10r21026: Add a helpful script to do the things we need to do to make a releaseAndrew Bartlett1-0/+13
tarball. Andrew Bartlett (This used to be commit 59752290438f9a1a10d81f798e1e9746508e4d5a)
2007-10-10r21017: Actually run tests during test phase rather than when generating the ↵Jelmer Vernooij3-56/+4
recipe. (This used to be commit b975ce3a471d29fb2c0691c65993f9dfeb066d79)
2007-10-10r20997: Add in more certificate and key blobs, to enable PKINIT.Andrew Bartlett1-29/+121
To automaticly test this, we need to decide if we should ship kinit (and possibly and hxtool). Andrew Bartlett (This used to be commit 413df7114e194b9c081d53ef29d42743129ad518)