1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-31 12:23:52 +03:00
Commit Graph

443 Commits

Author SHA1 Message Date
Andrew Bartlett
d214cb1ccf r21649: Update self test scripts to start Fedora DS. This requires current
Fedora DS CVS, plus changes to split up 00core.ldif.

Now we 'just' need to work to make the tests pass...

Andrew Bartlett
2007-10-10 14:49:04 -05:00
Andrew Tridgell
73da5e368b r21571: added RPC-HANDLES test to make test 2007-10-10 14:48:58 -05:00
Andrew Bartlett
c547bce3d3 r21554: Use a snippet from tridge's junkcode to cause us to wait for smbd to
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
2007-10-10 14:48:56 -05:00
Andrew Tridgell
d8875c286d r21535: - fixed a crash in the RAW-ACLS test. When a dcerpc_pipe is created
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
2007-10-10 14:48:54 -05:00
Brad Henry
c71dee3402 r21528: This file gets called by testit(), so it shouldn't call testit().
NET tests against Windows weren't getting run, testit() here just created a recipe.
2007-10-10 14:48:52 -05:00
Brad Henry
2982d9e90c r21522: Stop passing the VM config file path to wintest_2k3_dc.sh on the command line.
Forgot this one in the last commit.
2007-10-10 14:48:50 -05:00
Brad Henry
7496a28b43 r21521: Add missing quotes around shell variables which could have spaces.
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.
2007-10-10 14:48:50 -05:00
Brad Henry
7facfe9247 r21498: Putting the second parameter in quotes so that we accept spaces in the config file path. 2007-10-10 14:48:45 -05:00
Brad Henry
06bf94781e r21495: Pass the VM .vmx file path to wintest_2k3_dc.sh on the command line. 2007-10-10 14:48:44 -05:00
Brad Henry
de9687404e r21494: Fix 'make wintest' to support command-line changes to 'vm-get-ip.pl' 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.
2007-10-10 14:48:44 -05:00
Brad Henry
a0d1c690de r21475: Updated vm_get_ip.pl to read the name of the environment variable 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!
2007-10-10 14:48:40 -05:00
Brad Henry
76c6c5b8de r21473: Added new parameters to test_win.conf that apply only to the DC tests.
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.
2007-10-10 14:48:40 -05:00
Stefan Metzmacher
74ded55787 r21466: run the LDAP-UPTODATEVECTOR test in make test
metze
2007-10-10 14:48:40 -05:00
Andrew Bartlett
1c466c6d6f r21071: Move some of the key path variables into the mk-keyblobs.sh script.
Andrew Bartlett
2007-10-10 14:44:27 -05:00
Andrew Bartlett
ec511c592b r21069: Try to split up the mktestsetup.sh script into parts to deal with each
LDAP implementation, and another to hold the key blobs.

Also fix the OpenLDAP test.

Andrew Bartlett
2007-10-10 14:44:27 -05:00
Andrew Bartlett
bd564da6b9 r21068: Code to configure, start and stop Fedora DS.
We can't actually use it, as we are stuck inside our socket_wrapper
network, and can't talk to it.

Andrew Bartlett
2007-10-10 14:44:27 -05:00
Jelmer Vernooij
54b6378760 r21066: Fix the build (uninitialised variable). 2007-10-10 14:44:26 -05:00
Andrew Bartlett
92cea0b790 r21043: Work towards allowing Fedora DS to backend Samba4 in 'make test'.
Andrew Bartlett
2007-10-10 14:44:24 -05:00
Jelmer Vernooij
65cb965f11 r21032: Skip two more tests 2007-10-10 14:44:22 -05:00
Jelmer Vernooij
7b160f18b2 r21031: Skip some tests that were not listed previously. 2007-10-10 14:44:22 -05:00
Jelmer Vernooij
2c6cc617f9 r21030: whoops, fix incorrect regex 2007-10-10 14:44:22 -05:00
Jelmer Vernooij
053d5a40bc r21029: - Remove now unused failure checking code
- Use --list option for smbtorture for local and nbt tests as well
2007-10-10 14:44:22 -05:00
Jelmer Vernooij
7de4727ceb r21028: Generate list of tests rather than maintaining it manually. 2007-10-10 14:44:21 -05:00
Jelmer Vernooij
b975ce3a47 r21017: Actually run tests during test phase rather than when generating the recipe. 2007-10-10 14:44:20 -05:00
Andrew Bartlett
413df7114e r20997: Add in more certificate and key blobs, to enable PKINIT.
To automaticly test this, we need to decide if we should ship kinit
(and possibly and hxtool).

Andrew Bartlett
2007-10-10 14:44:19 -05:00
Jelmer Vernooij
9da63e362c r20967: Allow pidl tests to work with gcov 2007-10-10 14:44:04 -05:00
Jelmer Vernooij
0f34c67fff r20963: remove unused functions, run LOCAL-TDR by default 2007-10-10 14:44:04 -05:00
Jelmer Vernooij
3cc299dbbe r20830: merge mgmt work 2007-10-10 14:43:37 -05:00
Jelmer Vernooij
e4691447c4 r20822: Fix total failure counting. 2007-10-10 14:43:36 -05:00
Jelmer Vernooij
842637f78b r20756: Update to use generated recipes. 2007-10-10 14:40:45 -05:00
Jelmer Vernooij
bbe00636a9 r20755: Add progress indicator to test runner 2007-10-10 14:40:44 -05:00
Jelmer Vernooij
f288ca5f68 r20754: Simplify code for calculating total number of failed tests. 2007-10-10 14:40:44 -05:00
Jelmer Vernooij
d31d16e4eb r20750: Use files in script/tests to build a recipe rather than running the tests immediately. 2007-10-10 14:40:42 -05:00
Jelmer Vernooij
2794af5726 r20748: Add file I forgot to commit 2007-10-10 14:40:36 -05:00
Jelmer Vernooij
96ac1c62ee r20747: Move cifsdd to blackbox section 2007-10-10 14:40:36 -05:00
Jelmer Vernooij
7e6357f213 r20746: Don't report each individual test in test_smbclient as a single testsuite.
Create separate directory for blackbox tests.
2007-10-10 14:40:36 -05:00
Jelmer Vernooij
8ca927f888 r20739: Add more command-line options. 2007-10-10 14:40:35 -05:00
Jelmer Vernooij
b1719ebf38 r20737: Add option parsing. 2007-10-10 14:40:35 -05:00
Jelmer Vernooij
b7fd9645f5 r20696: Print mktestsetup errors to stderr rather than to either stderr or stdout.
Instead, print variables for the setup created to mktestsetup's stdout.
2007-10-10 14:40:24 -05:00
Jelmer Vernooij
1e013aba76 r20693: Add reimplementation of selftest in perl. Once this has been tested
more properly, I hope to use this as a replacement for the existing
file.
2007-10-10 14:40:23 -05:00
Stefan Metzmacher
1e4289fae4 r20167: reenable the ejsnet tests
metze
2007-10-10 14:29:17 -05:00
Rafal Szczesniak
5d7908038b r20164: Disable the test till tomorrow when I find out what caused
the crash.

rafal
2007-10-10 14:29:16 -05:00
Andrew Bartlett
67d8365e83 r20149: Remove the smb.conf distinction between PDC and BDC. Now the correct
way to setup a Samba4 DC is to set 'server role = domain controller'.

We use the fSMORoleOwner attribute in the base DN to determine the PDC.

This patch is quite large, as I have corrected a number of places that
assumed taht we are always the PDC, or that used the smb.conf
lp_server_role() to determine that.

Also included is a warning fix in the SAMR code, where the IDL has
seperated a couple of types for group display enumeration.

We also now use the ldb database to determine if we should run the
global catalog service.

In the near future, I will complete the DRSUAPI
DsGetDomainControllerInfo server-side on the same basis.

Andrew Bartlett
2007-10-10 14:29:15 -05:00
Jelmer Vernooij
db237ad52f r19863: Create -uninstalled.pc files. This should reenable compilation and running
of the pidl testsuite as part of the testsuite.
2007-10-10 14:28:27 -05:00
Stefan Metzmacher
8a0a92e2dc r19723: don't use [,],(,) in test names to make the build-farm output happy
metze
2007-10-10 14:28:14 -05:00
Rafal Szczesniak
0f913ef240 r19708: add a script for running net tests separately
rafal
2007-10-10 14:28:12 -05:00
Jelmer Vernooij
f111feb1d2 r19680: Allow specifying basedir for test data.
Create temporary directories in base directory.
2007-10-10 14:25:30 -05:00
Jelmer Vernooij
3b65a0d6e4 r19671: Fix remaining unresolved symbols in shared library build.
Fix starting tests in shared library build.
2007-10-10 14:25:27 -05:00
Andrew Bartlett
5fda92783f r19603: Make it easier to control the debug level of smbd.
Ensure that we don't accept kerberos logins without a PAC (to ensure
we actually produce a PAC in the KDC)

Andrew Bartlett
2007-10-10 14:25:02 -05:00
Andrew Bartlett
1c7cb1314b r19590: Make it less noisy to run the session_key test outside 'make test',
for example against a remote host.

Andrew Bartlett
2007-10-10 14:24:58 -05:00