summaryrefslogtreecommitdiff
path: root/source4/script/tests
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r21790: Setup the socket_wrapper_dir when we set the environment variable.Andrew Bartlett2-8/+8
Andrew Bartlett (This used to be commit 5c07dbd2487c5c23355ad0e3db6e9f9caf8ce145)
2007-10-10r21789: We do actually need this, to get a contextCSN attribute, which we needAndrew Bartlett1-0/+6
for USN support. Andrew Bartlett (This used to be commit 5f363502434e88c16920b219d7a854a22fee658f)
2007-10-10r21771: We just don't need to test this on more than one transport.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit c55edacba5f45a756a01baa1bf6401b4815bada8)
2007-10-10r21751: These 2 tests pass for me, so add them to the standard test script.Andrew Bartlett3-3/+5
Andrew Bartlett (This used to be commit 8a5b3067e9ec8d7810687cd0a4909c02bdb86d15)
2007-10-10r21743: Always use the 'escaped' LDAPI path.Andrew Bartlett2-5/+13
Wait around for the server to start, so we don't try to contact it during it's starup phase. Andrew Bartlett (This used to be commit f484b0a924809dd8c9861ade8d184fb44b3b5e1f)
2007-10-10r21742: reenable the smbclient test now that the d_printf bug is fixedAndrew Tridgell1-3/+1
(This used to be commit f483f5b26a702cffb72a46e0f172d82c18471e26)
2007-10-10r21741: Like starting smbd, ensure we have acutally started slapd, and it isAndrew Bartlett2-4/+2
listening, before we continue. Andrew Bartlett (This used to be commit 171540e06a3eb42320238ad81bc9993e86137dc7)
2007-10-10r21739: Make it easy to change the log level for the slapd processes, and haveAndrew Bartlett3-3/+7
the logs go to a file. Andrew Bartlett (This used to be commit 9aaa19319718a5a8fcc1df066cbce67eaa3431d8)
2007-10-10r21735: skip the smbclient test until jelmer can take a look at it. TheAndrew Tridgell1-1/+3
current test makes no sense with the new test system. For example, it does "mkdir bla" then "cd bla" then "cd ..", but it now does these as separate smbclient commands, which makes no sense at all. It even seems to try to run them in parallel??? The test fails (segfault, plus lots of errors), but gets reported as a success (This used to be commit 9e3bbdee50a5372fa79c493c1cf1c378f1068467)
2007-10-10r21733: Merge testenv back into core selftest.plJelmer Vernooij2-58/+32
(This used to be commit 4b78ed3a606b6697512f1e4e9b9c6c93816e71f8)
2007-10-10r21732: Use smbtorture for enumerating tests.Jelmer Vernooij1-4/+1
(This used to be commit f6aa921521ab6b091823643b7df30d2f5af620ab)
2007-10-10r21730: Reintroduce summary for testenv, remove old (no longer used) file.Jelmer Vernooij2-12/+11
(This used to be commit 0140aa5fd9e634620d42b8c4cdd4f43c6b681102)
2007-10-10r21728: Perhaps we don't need this on recent OpenLDAP servers. This overlayAndrew Bartlett1-4/+0
is depricated. Andrew Bartlett (This used to be commit 32e39b377ac3b3592c226428728c4238f6c9f8f0)
2007-10-10r21721: Push the 'Success! Your new directory server instance was created'Andrew Bartlett1-1/+1
message to stderr. Andrew Bartlett (This used to be commit 0b8b3f66716a8602438d9e9268c25ea14c2f564f)
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-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-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)