Age | Commit message (Collapse) | Author | Files | Lines |
|
This needs the pid file to be in the right spot.
Andrew Bartlett
(This used to be commit cf9993a309ffe605610e4aaa2281576f319b5df0)
|
|
(This used to be commit 36cd3406db06e3101cfede2f3935879cb11eeb93)
|
|
- 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)
|
|
module, so we have to bring in syncprov too.
Andrew Bartlett
(This used to be commit b9d06c70adcf34d3272797027b6cf89a174b862a)
|
|
Andrew Bartlett
(This used to be commit 5c07dbd2487c5c23355ad0e3db6e9f9caf8ce145)
|
|
for USN support.
Andrew Bartlett
(This used to be commit 5f363502434e88c16920b219d7a854a22fee658f)
|
|
Andrew Bartlett
(This used to be commit c55edacba5f45a756a01baa1bf6401b4815bada8)
|
|
Andrew Bartlett
(This used to be commit 8a5b3067e9ec8d7810687cd0a4909c02bdb86d15)
|
|
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)
|
|
(This used to be commit f483f5b26a702cffb72a46e0f172d82c18471e26)
|
|
listening, before we continue.
Andrew Bartlett
(This used to be commit 171540e06a3eb42320238ad81bc9993e86137dc7)
|
|
the logs go to a file.
Andrew Bartlett
(This used to be commit 9aaa19319718a5a8fcc1df066cbce67eaa3431d8)
|
|
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)
|
|
(This used to be commit 4b78ed3a606b6697512f1e4e9b9c6c93816e71f8)
|
|
(This used to be commit f6aa921521ab6b091823643b7df30d2f5af620ab)
|
|
(This used to be commit 0140aa5fd9e634620d42b8c4cdd4f43c6b681102)
|
|
is depricated.
Andrew Bartlett
(This used to be commit 32e39b377ac3b3592c226428728c4238f6c9f8f0)
|
|
message to stderr.
Andrew Bartlett
(This used to be commit 0b8b3f66716a8602438d9e9268c25ea14c2f564f)
|
|
changes seem to have been lost in the merge, and some variables were
not yet exported.
Andrew Bartlett
(This used to be commit ee9d9fb6c0bd3d4d01dea771025536ff83057072)
|
|
(This used to be commit 8d775e87b58d3f6d87338197728530c94b8c841b)
|
|
(This used to be commit a5000b286d6ffb847edf47404f82ff93173208c4)
|
|
(This used to be commit e480beb9569421da103aafb440eb687daa2359f3)
|
|
skipping in various places.
(This used to be commit 01befd52111b8c183d78f9e0d80065fe0825b87c)
|
|
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)
|
|
(This used to be commit e4cf8f1dea9063b9b83e629ea0e7a116bf4fc5f7)
|
|
be used for other selftest implementations (in particular the perl one I've been working on).
(This used to be commit aa29907327a91a64c769b1f2712f553e13964418)
|
|
routines for which we don't have any tests.
Andrew Bartlett
(This used to be commit e5b9bdf03729a913f3c6cc7709abcbdf50899562)
|
|
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)
|
|
validating that we have a correct configuration before we even start
testing.
Andrew Bartlett
(This used to be commit c399b20b44d396dea69ed81b7d80982611ed25e4)
|
|
(This used to be commit e830b815962da575aea9f9dc6bfee8eda8ec43c9)
|
|
to get the TLS code covered.
Andrew Bartlett
(This used to be commit 4aa928dac3797664c498094f171ef111f10ab30a)
|
|
(This used to be commit 0ae6d18ebe382a378ff1dc65069c629d8060ac2b)
|
|
(This used to be commit c6dfc90daf9c7ce0fe9a4d4ac7c1c278a694ef9f)
|
|
(This used to be commit 4929c07261443887608a845de16f1fb786efb7ba)
|
|
(This used to be commit b8f43e1eb1f626690df61e75ce1a06a94d19cf64)
|
|
(This used to be commit 06eb2faebb331e9385f39b27e82e399d34b8b938)
|
|
(This used to be commit 778a150f35152ae435632434561fb205d25bc604)
|
|
is broken, so that one is still disabled.
(This used to be commit ef794f03d50022a77303c77045a04d9407d07cbc)
|
|
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)
|
|
(This used to be commit e9d17b5ba0846fbe47b5e4001f5f6394884961d1)
|
|
(This used to be commit 73da5e368ba2307051320cd8cb70b3bd8bd04089)
|
|
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)
|
|
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)
|
|
NET tests against Windows weren't getting run, testit() here just created a recipe.
(This used to be commit c71dee34025b152d1af209b06023e30d2539fbc0)
|
|
command line.
Forgot this one in the last commit.
(This used to be commit 2982d9e90c26a78fb4a38ecaa65c192f5f764bf3)
|
|
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)
|
|
the config file path.
(This used to be commit 7facfe9247e98421e998092482f52db05228ace6)
|
|
(This used to be commit 06bf94781e688c57f625161722e0a25af5a8d2e3)
|
|
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)
|
|
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)
|