1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-07 17:18:11 +03:00
Commit Graph

94 Commits

Author SHA1 Message Date
Jelmer Vernooij
6321d5bf97 s4-tests: Allow listing tests run for iconv. 2011-11-14 15:49:36 +01:00
Stefan Metzmacher
17c529a35f s4:selftest: samba4.urgent_replication.python needs to run as "dc:local"
As it uses local files on the dc.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Nov 14 15:48:33 CET 2011 on sn-devel-104
2011-11-14 15:48:33 +01:00
Jelmer Vernooij
b24dd2ca1c selftesthelper: Fix argument order. 2011-11-10 23:37:04 +01:00
Jelmer Vernooij
a0a31d3212 selftest: Make planoldpythontestsuite arguments consistent with planpythontestsuite. 2011-11-10 23:37:04 +01:00
Jelmer Vernooij
0fcec8bfa0 selftest: Simplify calling of python tests. 2011-11-10 23:37:04 +01:00
Jelmer Vernooij
8ea8683f72 selftest: Allow passing arbitrary number of additional python path values. 2011-11-10 23:37:04 +01:00
Jelmer Vernooij
a0ed2da105 ldb: Re-apply pyldb fixes from Tridge and Amity, using unittest rather
than samba.tests.
2011-11-10 23:37:04 +01:00
Andrew Tridgell
39356761e5 test: use planpythontestsuite() for ldb.python test
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-11-10 14:24:21 +11:00
Sean Dague
e118d91a63 test: enable time and user samba-tool tests
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-10 14:24:20 +11:00
Matthieu Patou
37703892bd s4-selftest: add unit tests for sites's function in python 2011-11-02 13:37:18 +01:00
Jeremy Allison
8c6ff21782 The xcopy test is used in unusual ways (via a different uid). Ensure we can cope with this. 2011-10-28 12:16:43 -07:00
Amitay Isaacs
7ca0bed38d s4-selftest: Add tests for RPC dnsserver
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-10-20 05:53:05 +02:00
Jelmer Vernooij
416bf1c677 samba.getopt: Add some basic tests.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Oct 19 05:04:33 CEST 2011 on sn-devel-104
2011-10-19 05:04:33 +02:00
Andrew Bartlett
561d834123 auth: move credentials layer to the top level
This will allow gensec_start.c to move to the top level.  This does not change
what code uses the cli_credentials code, but allows the gensec code to be
more broadly.

Andrew Bartlett
2011-10-11 13:41:36 +11:00
Stefan Metzmacher
f0cd3f62d0 selftest: run dfs tests on plugin_s4_dc
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sat Oct  8 03:18:54 CEST 2011 on sn-devel-104
2011-10-08 03:18:54 +02:00
Andrew Bartlett
f9acf770e9 lib/util/charset: remove charset module loading
Now that the 'table' modules are gone, there is no reason for there to
be charset modules at all.  This builds the macosxfs and weird modules
into the binary at the appropriate times, and changes the tests to
test instead the difference between the remaining internal handlers
and iconv().

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Sep 20 06:27:06 CEST 2011 on sn-devel-104
2011-09-20 06:27:06 +02:00
Stefan Metzmacher
c033e634d7 s4:selftest: run the nbt tests before the smb tests
This hopefully avoids to run into problems with the
flakey error in the samba4.nbt.winsreplication test

 [1071/1154 in 58m58s] samba4.nbt.winsreplication(dc)
 Test if we always get back the same assoc_ctx
 Setup wrepl connections
 Test one pull replication cycle
 Setup wrepl connections
 Setup wrepl conflict pull connection
 UNEXPECTED(error): samba4.nbt.winsreplication.replica
 REASON: _StringException: _StringException: Unknown error/failure

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Sep 19 16:29:22 CEST 2011 on sn-devel-104
2011-09-19 16:29:22 +02:00
Andrew Bartlett
4d74fb7d47 selftest: add test for subdomain support 2011-09-13 15:37:12 +10:00
Jelmer Vernooij
b4c4a2d0f9 Add samba.tests.source, which checks Python files for copyright lines, license headers and invalid characters (dos newlines, tabs). 2011-09-13 02:24:03 +02:00
Andrew Bartlett
2085dffddb lib/util/charset Run charset sets with and without the system iconv
We need to know that we can load the samba-provided modules, and that
they are correct.  However, we must mark a number of tests as
knownfail due to errors in our internal iconv modules.

Andrew Bartlett
2011-09-10 14:18:06 +02:00
Andrew Bartlett
28f84aa55a selftest: skip all plugin_s4_dc tests if we do not have LDAP libs
This is needed as otherwise make test fails on any system without
OpenLDAP libs and headers, which causes our users concern.

Andrew Bartlett
2011-08-22 10:00:31 +10:00
Andrew Tridgell
5f3301759e s4-test: use dbcheck on more of our selftest databases
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Aug 18 02:58:55 CEST 2011 on sn-devel-104
2011-08-18 02:58:55 +02:00
Amitay Isaacs
64ec42d64f tests: Update test for s3 to s4 upgrade with two cases
S3-member to S4-member and S3-dc to S4-dc

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-08-13 20:18:40 +10:00
Andrew Bartlett
7b1d6a6a05 selftest: test plugin_s4_dc against all ncacn_np tests
Changes to the s3 epmapper behaviour seem to have fixed the rest of these
tests.

Andrew Bartlett
2011-08-03 18:48:05 +10:00
Andrew Bartlett
41ee4e8bcc selftest: Add kerberos tests to plugin_s4_dc tests
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-08-03 18:48:04 +10:00
Andrew Bartlett
779573a5b3 selftest: Test encrypted RPC pipes against plugin_s4_dc
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-08-03 18:48:03 +10:00
Andrew Tridgell
190ec87964 s4-test: added dbcheck run to test suite
This should catch corruption that happens during a test run

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-07-21 11:44:32 +10:00
Andrew Bartlett
02444afb87 selftest: Add tests to verify that the named pipe proxy works.
This verifies that for NTLM authenticated connections, named pipe
forwarding works as expected, including the session keys.

Andrew Bartlett

Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-20 09:17:14 +10:00
Andrew Bartlett
8420a36dc7 ldb: make ldb a top level library for Samba 4.0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-05 17:24:47 +10:00
Stefan Metzmacher
d7cc8571f7 s4:selftest: test ntvfs.cifs with s4u2proxy
Pair-Programmed-With: Björn Baumbach <bb@sernet.de>

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Jun 24 20:35:30 CEST 2011 on sn-devel-104
2011-06-24 20:35:30 +02:00
Andrew Bartlett
79b1a1092d selftest: Run tests for libsmbclient and libnetapi
This adds the known failure for the one test (netbios browsing) that
fails.

Andrew Bartlett
2011-06-21 11:29:39 +10:00
Andrew Bartlett
78a0195cdc selftest: Fix 'make quicktest' on systems without LDAP development support
This should ensure that we don't run the Samba3/Samba4 integration
tests on machines without ADS support.

(Some samba3 tests in the full 'make test' may still fail however)

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Jun  7 07:17:32 CEST 2011 on sn-devel-104
2011-06-07 07:17:32 +02:00
Matthieu Patou
c2fa348831 s4-dsdb: add unit tests for dirsync control
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-05-21 16:25:19 +04:00
Matthieu Patou
49c99d0515 s4: add blackbox test for rename
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sat May 21 09:50:34 CEST 2011 on sn-devel-104
2011-05-21 09:50:34 +02:00
Andrew Bartlett
fa3e2fc8bb selftest: Re-enable strings.py from source3/stf as a python subunit test 2011-05-18 16:12:08 +02:00
Andrew Bartlett
d957fd5ae7 selftest: Test both users created in plugin_s4_dc environment
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon May  9 06:10:52 CEST 2011 on sn-devel-104
2011-05-09 06:10:52 +02:00
Andrew Bartlett
5def7a1e5e s4-selftest Add tests for proxy_samba4_dc
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Sun May  8 20:03:45 CEST 2011 on sn-devel-104
2011-05-08 20:03:45 +02:00
Andrew Bartlett
fb5e1f4a65 selftest: s3member admember test to confirm s3/s4 interopability
This checks that Samba3 joins Samba4 correctly, and allows NTLM and
Kerberos logons from a live Samba4 DC.

This needs the common krb5.conf generation logic, and because we now
override KRB5_CONFIG we must update ktest to have a valid krb5.conf.

Based on an original patch by metze

Andrew Bartlett
2011-04-28 05:30:21 +02:00
Andrew Bartlett
5439553c96 selftest: Don't specify SELFTEST_TARGET as an env variable
It is much more reliable to specify it as a direct parameter, and this
is needed for the combined 'make test'.

Andrew Bartlett
2011-04-19 16:13:42 +10:00
Andrew Bartlett
790ceec78b s4-selftest Rename Samba4 'member' test environment to s4member
This will avoid a conflict with the s3 'member' environment.

Andrew Bartlett
2011-04-19 14:26:59 +10:00
Andrew Bartlett
8f58b13579 s4-selftest: Stop creating netbios aliases everywhere
This reduces some of the clutter when we have quite so many server
configurations starting.

The one case that actually needs an alias (dc environment for the
test_nmblookup.sh test) will still keep it.

Andrew Bartlett
2011-04-19 14:26:58 +10:00
Andrew Bartlett
d9e29c0250 selftest Remove selftest of the test subsystem
The intereactions between selftest.pl and the target are now too
complex to unit test like this any more.

Andrew Bartlett
2011-04-16 11:43:05 +02:00
Andrew Bartlett
48bb69ef00 selftest: Start using the binary mapping at the python layer as well 2011-04-16 11:43:04 +02:00
Stefan Metzmacher
4b86beb98b s4:selftest: test using the machine account of the rodc against itself
This should test the non proxy rodc kdc path.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Mar  4 22:06:10 CET 2011 on sn-devel-104
2011-03-04 22:06:10 +01:00
Kamen Mazdrashki
ec5453427e s4/tests: Include 'replica_sync' test in S4 test suite 2011-02-27 00:23:21 +02:00
Andrew Bartlett
a056792294 selftest move selftesthelpers to a top level helper script 2011-02-22 16:20:09 +11:00
Matthieu Patou
b2e126cddc s4:selftest: add tests with seal and sign for backupkey
We need to specify sign and seal as the protocol operate really only on
sealed protected connections, in other case we are just checking that
the server returns something like unwilling to perform due to weak
security.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Feb 14 01:48:39 CET 2011 on sn-devel-104
2011-02-14 01:48:39 +01:00
Kamen Mazdrashki
4d058ca7c0 s4/tests: Implement a blackbox test for 'samba-tool drs' command
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Wed Feb  9 11:45:30 CET 2011 on sn-devel-104
2011-02-09 11:45:30 +01:00
Andrew Tridgell
ceb4b06c43 s4-test: fixed samba4.policy.python test for top level build
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07 13:22:01 +11:00
Andrew Tridgell
be5a709341 s4-test: fixed hard coded test paths for top level build
this fixes the various test plans that hard coded incorrect paths for
a top level build

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07 13:22:01 +11:00