summaryrefslogtreecommitdiffstats
path: root/source4/selftest
Commit message (Collapse)AuthorAgeFilesLines
* s4-selftest: add unit tests for sites's function in pythonMatthieu Patou2011-11-021-0/+1
|
* The xcopy test is used in unusual ways (via a different uid). Ensure we can ↵Jeremy Allison2011-10-281-9/+9
| | | | cope with this.
* selftest: Have only one set of selftest knownfail and skip filesAndrew Bartlett2011-10-284-220/+0
| | | | | | | | | | | Listing tests that are not ever proposed (eg samba4.* in the samba3 selftest) is not an error, so just combine the lists. This is being done because some folks trying to learn how our 'make test' works are having trouble following the distributed nature of the selftest system. Andrew Bartlett
* s4-selftest: Add tests for RPC dnsserverAmitay Isaacs2011-10-201-0/+1
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba.getopt: Add some basic tests.Jelmer Vernooij2011-10-191-0/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Oct 19 05:04:33 CEST 2011 on sn-devel-104
* Revert "s4: Mark the winsreplication test as knownfail"Andrew Bartlett2011-10-181-1/+1
| | | | | | | | This reverts commit f7f6992a20dd29bd7643291e3b3d05bc8f6c9c76 because 75953f18469fa8746d9d8ad20bbbb3bcbd0df9dd solved the root cause, which was a race in ldb startup. Andrew Bartlett
* Revert "s4:selftest: skip flakey samba4.nbt.winsreplication for now"Andrew Bartlett2011-10-181-1/+0
| | | | | | | | This reverts commit 16fd935fc659555c203354b6c96fc23a55be5a3b because 75953f18469fa8746d9d8ad20bbbb3bcbd0df9dd solved the root cause, which was a race in ldb startup. Andrew Bartlett
* s4:selftest: flakey test samba4.drs.delete_object.python should go into skipMichael Adam2011-10-142-1/+1
| | | | | | | | not knownfail, which will render it flakey again, just the other way round. Thanks Jelmer for pointing that out... Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Oct 14 00:21:26 CEST 2011 on sn-devel-104
* selftest: mark samba4.drs.delete_object.python knownfailMichael Adam2011-10-131-0/+1
| | | | | | | this currently prevents autobuild from succeeding intermittently Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Oct 13 00:22:18 CEST 2011 on sn-devel-104
* auth: move credentials layer to the top levelAndrew Bartlett2011-10-111-1/+1
| | | | | | | | 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
* selftest: run dfs tests on plugin_s4_dcStefan Metzmacher2011-10-081-0/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Oct 8 03:18:54 CEST 2011 on sn-devel-104
* s4: add SMB2_FSCTL opcodesDavid Disseldorp2011-09-291-0/+1
| | | | | | | | Also, skip samba4.smb2.ioctl for now. Snapshots are not supported by default. Autobuild-User: David Disseldorp <ddiss@samba.org> Autobuild-Date: Thu Sep 29 14:47:05 CEST 2011 on sn-devel-104
* s4:selftest: skip flakey samba4.nbt.winsreplication for nowStefan Metzmacher2011-09-221-0/+1
| | | | | | | | | | | | | | | [825/1154 in 43m52s] 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 I don't have time to look into the problem currently. metze
* lib/util/charset: remove charset module loadingAndrew Bartlett2011-09-202-6/+8
| | | | | | | | | | | | | 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
* s4:selftest: run the nbt tests before the smb testsStefan Metzmacher2011-09-191-3/+4
| | | | | | | | | | | | | | | | | | | 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
* s4:selftest: skip flakey samba4.drs.repl_schema.python for nowStefan Metzmacher2011-09-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | UNEXPECTED(error): samba4.drs.repl_schema.python(vampire_dc).repl_schema.DrsReplSchemaTestCase.test_classWithCustomAttribute REASON: _StringException: _StringException: Content-Type: text/x-traceback;charset=utf8,language=python traceback 49F 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/autobuild/flakey/b12973/samba4/source4/torture/drs/python/repl_schema.py", line 179, in test_classWithCustomAttribute self._net_drs_replicate(DC=self.dnsname_dc2, fromDC=self.dnsname_dc1, nc_dn=self.schema_dn) File "/memdisk/autobuild/flakey/b12973/samba4/source4/torture/drs/python/drs_base.py", line 110, in _net_drs_replicate return self.check_output(cmd_line) File "bin/python/samba/tests/__init__.py", line 157, in check_output raise BlackboxProcessError(retcode, line, p.stdout.read(), p.stderr.read()) BlackboxProcessError: Command '/memdisk/autobuild/flakey/b12973/samba4/bin/samba-tool drs replicate -USAMBADOMAIN/Administrator%locDCpass1 --sync-forced LOCALVAMPIREDC.samba.example.com localdc.samba.example.com CN=Schema,CN=Configuration,DC=samba,DC=example,DC=com'; exit status 255; stdout: ''; stderr: 'ERROR(runtime): DsReplicaSync failed - (-1073741807, 'NT_STATUS_END_OF_FILE') ' 0 As this is an error, we have to skip it instead of adding it to the knowfail file metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Sep 17 08:43:31 CEST 2011 on sn-devel-104
* selftest: add test for subdomain supportAndrew Bartlett2011-09-131-2/+3
|
* Add samba.tests.source, which checks Python files for copyright lines, ↵Jelmer Vernooij2011-09-131-0/+1
| | | | license headers and invalid characters (dos newlines, tabs).
* lib/util/charset Run charset sets with and without the system iconvAndrew Bartlett2011-09-102-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
* s4: Mark the winsreplication test as knownfailVolker Lendecke2011-08-291-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
* selftest: skip all plugin_s4_dc tests if we do not have LDAP libsAndrew Bartlett2011-08-221-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
* s4-test: use dbcheck on more of our selftest databasesAndrew Tridgell2011-08-181-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
* s4-test: only check one database in quickcheckAndrew Tridgell2011-08-181-1/+1
|
* tests: Update test for s3 to s4 upgrade with two casesAmitay Isaacs2011-08-131-1/+1
| | | | | | S3-member to S4-member and S3-dc to S4-dc Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dbcheck: enable dbcheck now that backlinks are fixedAndrew Tridgell2011-08-091-1/+0
|
* selftest: test plugin_s4_dc against all ncacn_np testsAndrew Bartlett2011-08-031-1/+1
| | | | | | | Changes to the s3 epmapper behaviour seem to have fixed the rest of these tests. Andrew Bartlett
* selftest: Add kerberos tests to plugin_s4_dc testsAndrew Bartlett2011-08-031-3/+4
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* selftest: Test encrypted RPC pipes against plugin_s4_dcAndrew Bartlett2011-08-031-4/+5
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* dbcheck: mark the dbcheck as known-failAndrew Tridgell2011-07-211-0/+1
| | | | this will fail till we correctly update backlinks to deleted objects
* s4-selftest: added undump.sh scriptAndrew Tridgell2011-07-211-0/+20
| | | | | | used to unpack a dumped set of provision files for selftest Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* tests: Add alpha13 dumped provisionMatthieu Patou2011-07-2123-0/+79033
|
* s4-test: added dbcheck run to test suiteAndrew Tridgell2011-07-212-0/+4
| | | | | | This should catch corruption that happens during a test run Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* selftest: Add tests to verify that the named pipe proxy works.Andrew Bartlett2011-07-201-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>
* ldb: make ldb a top level library for Samba 4.0Andrew Bartlett2011-07-051-2/+2
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4:selftest: test ntvfs.cifs with s4u2proxyStefan Metzmacher2011-06-241-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
* s4:selftest: use wildcards for ntvfs.cifs tests in knownfail and skip filesStefan Metzmacher2011-06-242-36/+20
| | | | metze
* 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