summaryrefslogtreecommitdiffstats
path: root/source4/selftest
Commit message (Collapse)AuthorAgeFilesLines
* selftest: Run tests for libsmbclient and libnetapiAndrew Bartlett2011-06-212-1/+6
| | | | | | | This adds the known failure for the one test (netbios browsing) that fails. Andrew Bartlett
* selftest: Fix 'make quicktest' on systems without LDAP development supportAndrew Bartlett2011-06-071-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
* Make samba4.drs.fsmo.python knownfailVolker Lendecke2011-06-041-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
* selftest: Make knowfail/skip files consistent, always use ^prefixAndrew Bartlett2011-05-251-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
* s4-dsdb: add unit tests for dirsync controlMatthieu Patou2011-05-212-0/+3
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4: add blackbox test for renameMatthieu Patou2011-05-211-0/+3
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat May 21 09:50:34 CEST 2011 on sn-devel-104
* selftest: Re-enable strings.py from source3/stf as a python subunit testAndrew Bartlett2011-05-181-0/+1
|
* s4-selftest: gensec test is finished, don't skipAndrew Bartlett2011-05-181-1/+0
|
* selftest: Don't skip Samba3 tests in the top level buildAndrew Bartlett2011-05-181-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
* waf: Enable Samba3 torture tests in top level build.Andreas Schneider2011-05-161-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
* s4-smbtorture: add test_netremotetod.Günther Deschner2011-05-161-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
* selftest: Test both users created in plugin_s4_dc environmentAndrew Bartlett2011-05-091-0/+1
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon May 9 06:10:52 CEST 2011 on sn-devel-104
* s4-selftest Add tests for proxy_samba4_dcAndrew Bartlett2011-05-081-0/+1
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun May 8 20:03:45 CEST 2011 on sn-devel-104
* Revert "s4:selftest: skip s3member tests for now"Stefan Metzmacher2011-04-291-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
* s4:selftest: skip s3member tests for nowStefan Metzmacher2011-04-281-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
* selftest: s3member admember test to confirm s3/s4 interopabilityAndrew Bartlett2011-04-281-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
* selftest: Don't specify SELFTEST_TARGET as an env variableAndrew Bartlett2011-04-191-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
* s4-selftest Rename Samba4 'member' test environment to s4memberAndrew Bartlett2011-04-191-14/+14
| | | | | | This will avoid a conflict with the s3 'member' environment. Andrew Bartlett
* s4-selftest: Stop creating netbios aliases everywhereAndrew Bartlett2011-04-191-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
* selftest Remove selftest of the test subsystemAndrew Bartlett2011-04-161-1/+0
| | | | | | | The intereactions between selftest.pl and the target are now too complex to unit test like this any more. Andrew Bartlett
* selftest: Move Samba4 selftest wscript to the top levelAndrew Bartlett2011-04-161-201/+0
|
* selftest: Start using the binary mapping at the python layer as wellAndrew Bartlett2011-04-162-2/+2
|
* selftest: Remove duplication between BUILDIR and BINDIRAndrew Bartlett2011-04-161-1/+1
| | | | | | Just have BINDIR, and have it default to ./bin Andrew Bartlett
* s4-smbtorture: add netsessiongetinfo() test.Günther Deschner2011-03-181-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
* waf-selftest: allow to call "make test SUBUNIT_FORMATTER=cat".Günther Deschner2011-03-101-1/+3
| | | | Guenther
* s4:selftest: test using the machine account of the rodc against itselfStefan Metzmacher2011-03-041-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
* s4-smbtorture: add netsessionenum rap torture test.Günther Deschner2011-03-021-0/+1
| | | | Guenther
* s4/tests: Include 'replica_sync' test in S4 test suiteKamen Mazdrashki2011-02-271-0/+1
|
* selftest move selftesthelpers to a top level helper scriptAndrew Bartlett2011-02-221-138/+14
|
* s4:selftest: add tests with seal and sign for backupkeyMatthieu Patou2011-02-141-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
* s4: Renable samba4.rpc.backupkeyStefan Metzmacher2011-02-141-1/+0
| | | | | | This reverts commit 07fd397be7e30849f2c8452154edbee7dceccfe1. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-build: need EXPAND_VARIABLES() for terminal in make testAndrew Tridgell2011-02-101-1/+1
| | | | | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Feb 10 07:35:26 CET 2011 on sn-devel-104
* s4/tests: Implement a blackbox test for 'samba-tool drs' commandKamen Mazdrashki2011-02-091-0/+1
| | | | | Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Feb 9 11:45:30 CET 2011 on sn-devel-104
* s4-selftest Fix valgrind and gdb options for top level buildAndrew Bartlett2011-02-091-2/+2
| | | | Andrew Bartlett
* s4-test: fixed samba4.policy.python test for top level buildAndrew Tridgell2011-02-071-1/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-test: fixed hard coded test paths for top level buildAndrew Tridgell2011-02-071-3/+5
| | | | | | | this fixes the various test plans that hard coded incorrect paths for a top level build Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-test: allow make test to work from top level directoryAndrew Tridgell2011-02-072-15/+24
| | | | | | | this fixes the path assumptions in Samba4 make test to allow it to work from the top level directory. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:selftest: skip samba4.rpc.backupkey for nowStefan Metzmacher2011-02-051-0/+1
| | | | metze
* Add knownfail for s4 for the new oplock test.Jeremy Allison2011-01-311-0/+1
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Jan 31 22:55:00 CET 2011 on sn-devel-104
* s4-selftest: Mark epmapper as knownfail.Andreas Schneider2011-01-271-2/+1
|
* s4:selftest: mark samba4.nbt.winsreplication.owned as knownfailStefan Metzmacher2011-01-201-0/+1
| | | | | | | | | This sometimes fails on a busy server. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jan 20 09:29:12 CET 2011 on sn-devel-104
* s4:selftest/skip: remove samba4.tokengroups.pythonStefan Metzmacher2011-01-201-1/+0
| | | | metze
* s4-selftest Remove knownfail for tokengroups testAndrew Bartlett2011-01-191-1/+0
| | | | | | | | | The problem with this test (use of None rather than "" has been fixed) Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Jan 19 23:56:31 CET 2011 on sn-devel-104
* s4:selftest/skip: add samba4.tokengroups.pythonStefan Metzmacher2011-01-192-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fails randomly like this with an error (not a failure): [651/695 in 27m37s] samba4.tokengroups.python(dc) running client gensec_update UNEXPECTED(error): samba4.tokengroups.python(dc).__main__.TokenTest.test_pac_groups REASON: _StringException: _StringException: Content-Type: text/x-traceback;charset=utf8,language=python traceback 1E2 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/tridge/flakey/b2413/source4/source4/dsdb/tests/python/token_group.py", line 142, in test_pac_groups (client_finished, client_to_server) = gensec_client.update(server_to_client) TypeError: expected a string 0 FAILED (0 failures and 1 errors in 0 testsuites) A summary with detailed information can be found in: ./st/summary test: running (/usr/bin/perl /memdisk/tridge/flakey/b2413/source4/source4/../selftest/selftest.pl --prefix=./st --builddir=. --srcdir=. --exclude=./selftest/skip --testlist="/usr/bin/python ./selftest/tests.py|" --exclude=./selftest/slow --socket-wrapper && touch ./st/st_done) | /usr/bin/python -u ../selftest/filter-subunit --expected-failures=./selftest/knownfail --fail-immediately | tee ./st/subunit | /usr/bin/python -u ../selftest/format-subunit --prefix=./st --immediate ERROR: test failed with exit code 1 metze
* s4-dsdb Add PAC validation test to tokengroups test.Andrew Bartlett2011-01-191-1/+1
| | | | | | | | | | | | | This confirms that the groups obtained from a Kerberos PAC match those that a manual search of a target LDAP server would reveal. This should allow mixing of a KDC specified by krb5.conf to test Samba or Windows alternatly. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Jan 19 13:13:48 CET 2011 on sn-devel-104
* s4-gensec Extend python bindings for GENSEC and the associated testAndrew Bartlett2011-01-181-1/+1
| | | | | | | | | | This now tests a real GENSEC exchange, including wrap and unwrap, using GSSAPI. Therefore, it now needs to access a KDC. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Jan 18 11:41:26 CET 2011 on sn-devel-104
* s4-test: added a tokengroups testAndrew Tridgell2011-01-141-0/+1
| | | | | | | this tests that the remote tokenGroups match the internally calculated ones Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:selftest: selftest.pl already sets TEST_DATA_PREFIXStefan Metzmacher2010-12-271-3/+2
| | | | metze
* selftest-s4: Support listing smbtorture4 tests.Jelmer Vernooij2010-12-111-35/+46
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 19:32:07 CET 2010 on sn-devel-104
* s4:selftest: use correct name for the test "ECHO-UDP" => "echo.udp"Stefan Metzmacher2010-12-111-1/+1
| | | | | | | | I wonder how commit 35fbc7bbda5851f7172538f79fc79be201f1d521 (s4-smbtorture: Make test names lowercase and dot-separated) ever passed make test. metze