Age | Commit message (Collapse) | Author | Files | Lines |
|
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)
|
|
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)
|
|
metze
(This used to be commit 74ded55787d6dee55e87bd55a4f152fa2e8dbeab)
|
|
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)
|
|
Andrew Bartlett
(This used to be commit 1c466c6d6f02bf76f7f68e7dcd3d9a4c2a63179a)
|
|
LDAP implementation, and another to hold the key blobs.
Also fix the OpenLDAP test.
Andrew Bartlett
(This used to be commit ec511c592bbb7df513fe6f62e06e1fa984431550)
|
|
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)
|
|
(This used to be commit 54b63787606f392e094fe28c2536999c34f76f44)
|
|
(This used to be commit 7512270ffae4e72d70f6ca347f09708f1bf915ad)
|
|
Andrew Bartlett
(This used to be commit 92cea0b79011e9b86ab7e782c83ad5964a5925bd)
|
|
(This used to be commit 6713945fbab2df5b695c11df623f16d0abd1a772)
|
|
(This used to be commit 65cb965f11534a0636ab083219d84eb78dceecae)
|
|
(This used to be commit 7b160f18b26a5abe13b1cbc8039e57bd0cee86e0)
|
|
(This used to be commit 2c6cc617f9cc84c1cd9f6652d3a8ac9c605ab42c)
|
|
- Use --list option for smbtorture for local and nbt tests as well
(This used to be commit 053d5a40bc96b9503220f17f59677a0df6677a1e)
|
|
(This used to be commit 7de4727ceb5935dd5fca49db0331c4509f735362)
|
|
tarball.
Andrew Bartlett
(This used to be commit 59752290438f9a1a10d81f798e1e9746508e4d5a)
|
|
recipe.
(This used to be commit b975ce3a471d29fb2c0691c65993f9dfeb066d79)
|
|
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)
|
|
(This used to be commit 9da63e362c9d590388c77d882f9dbf54b0aa78cc)
|
|
(This used to be commit 0f34c67fff53d5bd3c1b5a5618190ad7154e8d07)
|
|
(This used to be commit 3cc299dbbe278936281f8e7071e6de8ec1bb219c)
|
|
(This used to be commit e4691447c47d6e8c938fee934e7a9aba2f418858)
|
|
(This used to be commit 842637f78bbfb66ff669dadf3c7387dbc45feaf8)
|