summaryrefslogtreecommitdiff
path: root/source4/selftest
AgeCommit message (Collapse)AuthorFilesLines
2011-09-13Add samba.tests.source, which checks Python files for copyright lines, ↵Jelmer Vernooij1-0/+1
license headers and invalid characters (dos newlines, tabs).
2011-09-10lib/util/charset Run charset sets with and without the system iconvAndrew Bartlett2-0/+9
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-08-29s4: Mark the winsreplication test as knownfailVolker Lendecke1-1/+1
This continues to break my autobuild even if I just check something into source3. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Aug 29 21:04:06 CEST 2011 on sn-devel-104
2011-08-22selftest: skip all plugin_s4_dc tests if we do not have LDAP libsAndrew Bartlett1-5/+6
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-18s4-test: use dbcheck on more of our selftest databasesAndrew Tridgell1-2/+3
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-18s4-test: only check one database in quickcheckAndrew Tridgell1-1/+1
2011-08-13tests: Update test for s3 to s4 upgrade with two casesAmitay Isaacs1-1/+1
S3-member to S4-member and S3-dc to S4-dc Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-08-09s4-dbcheck: enable dbcheck now that backlinks are fixedAndrew Tridgell1-1/+0
2011-08-03selftest: test plugin_s4_dc against all ncacn_np testsAndrew Bartlett1-1/+1
Changes to the s3 epmapper behaviour seem to have fixed the rest of these tests. Andrew Bartlett
2011-08-03selftest: Add kerberos tests to plugin_s4_dc testsAndrew Bartlett1-3/+4
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-08-03selftest: Test encrypted RPC pipes against plugin_s4_dcAndrew Bartlett1-4/+5
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-21dbcheck: mark the dbcheck as known-failAndrew Tridgell1-0/+1
this will fail till we correctly update backlinks to deleted objects
2011-07-21s4-selftest: added undump.sh scriptAndrew Tridgell1-0/+20
used to unpack a dumped set of provision files for selftest Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-07-21tests: Add alpha13 dumped provisionMatthieu Patou23-0/+79033
2011-07-21s4-test: added dbcheck run to test suiteAndrew Tridgell2-0/+4
This should catch corruption that happens during a test run Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-07-20selftest: Add tests to verify that the named pipe proxy works.Andrew Bartlett1-0/+7
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-05ldb: make ldb a top level library for Samba 4.0Andrew Bartlett1-2/+2
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-24s4:selftest: test ntvfs.cifs with s4u2proxyStefan Metzmacher1-1/+7
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-24s4:selftest: use wildcards for ntvfs.cifs tests in knownfail and skip filesStefan Metzmacher2-36/+20
metze
2011-06-21selftest: Run tests for libsmbclient and libnetapiAndrew Bartlett2-1/+6
This adds the known failure for the one test (netbios browsing) that fails. Andrew Bartlett
2011-06-07selftest: Fix 'make quicktest' on systems without LDAP development supportAndrew Bartlett1-6/+17
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-04Make samba4.drs.fsmo.python knownfailVolker Lendecke1-0/+1
This frequently blocks autobuild for me, this time with Testing for rid role transfer from localdc.samba.example.com to localvampiredc.samba.example.com ERROR: Failed to initiate transfer of 'rid' role: LDAP error 52 LDAP_UNAVAILABLE - <Failed FSMO transfer: NT_STATUS_IO_TIMEOUT> <> UNEXPECTED(failure): samba4.drs.fsmo.python(vampire_dc).fsmo.DrsFsmoTestCase.test_RIDMasterTransfer REASON: _StringException: _StringException: Content-Type: text/x-traceback;charset=utf8,language=python traceback 36E Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/testtools/runtest.py", line 128, in _run_user return fn(*args) File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 368, in _run_test_method testMethod() File "/memdisk/vlendec/a/b5798/samba4/source4/torture/drs/python/fsmo.py", line 125, in test_RIDMasterTransfer self._role_transfer(role="rid", role_dn=self.rid_dn) File "/memdisk/vlendec/a/b5798/samba4/source4/torture/drs/python/fsmo.py", line 97, in _role_transfer self._net_fsmo_role_transfer(DC=self.dnsname_dc2, role=role) File "/memdisk/vlendec/a/b5798/samba4/source4/torture/drs/python/fsmo.py", line 68, in _net_fsmo_role_transfer self.assertEquals(ret, 0, "Transferring role %s to %s has failed!" % (role, DC)) AssertionError: Transferring role rid to localvampiredc.samba.example.com has failed! 0 NT_STATUS_IO_TIMEOUT -- does that mean that sn.samba.org is not powerful enough to run this test successfully? Volker Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Jun 4 15:24:20 CEST 2011 on sn-devel-104
2011-05-25selftest: Make knowfail/skip files consistent, always use ^prefixAndrew Bartlett1-80/+80
Except in one case (where we mark printing tests as knownfail), this has all our regular expressions start with ^, which ensures we don't accidentially mix up the samba3/samba4 prefix here. Because of the particular values in these files at the moment, this should not change the set of tests, but it will help to ensure that future edits follow the correct pattern. Andrew Bartlett
2011-05-21s4-dsdb: add unit tests for dirsync controlMatthieu Patou2-0/+3
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-05-21s4: add blackbox test for renameMatthieu Patou1-0/+3
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat May 21 09:50:34 CEST 2011 on sn-devel-104
2011-05-18selftest: Re-enable strings.py from source3/stf as a python subunit testAndrew Bartlett1-0/+1
2011-05-18s4-selftest: gensec test is finished, don't skipAndrew Bartlett1-1/+0
2011-05-18selftest: Don't skip Samba3 tests in the top level buildAndrew Bartlett1-56/+64
The regular expressions here were not specific enough, they matched the samba3. names from the source3/selftest/tests.py Found by Andreas Schneider Andrew Bartlett
2011-05-16waf: Enable Samba3 torture tests in top level build.Andreas Schneider1-12/+12
Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon May 16 13:57:01 CEST 2011 on sn-devel-104
2011-05-16s4-smbtorture: add test_netremotetod.Günther Deschner1-0/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon May 16 12:45:52 CEST 2011 on sn-devel-104
2011-05-09selftest: Test both users created in plugin_s4_dc environmentAndrew Bartlett1-0/+1
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon May 9 06:10:52 CEST 2011 on sn-devel-104
2011-05-08s4-selftest Add tests for proxy_samba4_dcAndrew Bartlett1-0/+1
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun May 8 20:03:45 CEST 2011 on sn-devel-104
2011-04-29Revert "s4:selftest: skip s3member tests for now"Stefan Metzmacher1-1/+0
This reverts commit c5034ac3155958c0d3e2a1cfbfc669bc2e869f29. This doesn't seem to help and isn't needed if the filesystem has posix acl support. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Apr 29 08:23:01 CEST 2011 on sn-devel-104
2011-04-28s4:selftest: skip s3member tests for nowStefan Metzmacher1-0/+1
They are flakey, see http://git.samba.org/autobuild.flakey/2011-04-28-1501/samba4.stdout http://git.samba.org/autobuild.flakey/2011-04-28-1700/samba4.stdout metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Apr 28 18:42:06 CEST 2011 on sn-devel-104
2011-04-28selftest: s3member admember test to confirm s3/s4 interopabilityAndrew Bartlett1-4/+4
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-19selftest: Don't specify SELFTEST_TARGET as an env variableAndrew Bartlett1-1/+1
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-19s4-selftest Rename Samba4 'member' test environment to s4memberAndrew Bartlett1-14/+14
This will avoid a conflict with the s3 'member' environment. Andrew Bartlett
2011-04-19s4-selftest: Stop creating netbios aliases everywhereAndrew Bartlett1-1/+0
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-16selftest Remove selftest of the test subsystemAndrew Bartlett1-1/+0
The intereactions between selftest.pl and the target are now too complex to unit test like this any more. Andrew Bartlett
2011-04-16selftest: Move Samba4 selftest wscript to the top levelAndrew Bartlett1-201/+0
2011-04-16selftest: Start using the binary mapping at the python layer as wellAndrew Bartlett2-2/+2
2011-04-16selftest: Remove duplication between BUILDIR and BINDIRAndrew Bartlett1-1/+1
Just have BINDIR, and have it default to ./bin Andrew Bartlett
2011-03-18s4-smbtorture: add netsessiongetinfo() test.Günther Deschner1-0/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Mar 18 02:11:38 CET 2011 on sn-devel-104
2011-03-10waf-selftest: allow to call "make test SUBUNIT_FORMATTER=cat".Günther Deschner1-1/+3
Guenther
2011-03-04s4:selftest: test using the machine account of the rodc against itselfStefan Metzmacher1-0/+1
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-02s4-smbtorture: add netsessionenum rap torture test.Günther Deschner1-0/+1
Guenther
2011-02-27s4/tests: Include 'replica_sync' test in S4 test suiteKamen Mazdrashki1-0/+1
2011-02-22selftest move selftesthelpers to a top level helper scriptAndrew Bartlett1-138/+14
2011-02-14s4:selftest: add tests with seal and sign for backupkeyMatthieu Patou1-0/+4
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-14s4: Renable samba4.rpc.backupkeyStefan Metzmacher1-1/+0
This reverts commit 07fd397be7e30849f2c8452154edbee7dceccfe1. Signed-off-by: Andrew Bartlett <abartlet@samba.org>