summaryrefslogtreecommitdiffstats
path: root/source4/selftest
Commit message (Collapse)AuthorAgeFilesLines
...
* Run selftest.py tests.Jelmer Vernooij2012-03-041-0/+1
|
* selftest: Rework samba4.blackbox.bogusdomain to use a temporary userAndrew Bartlett2012-03-021-1/+1
| | | | | | | | | | | | | This avoids leaving an account in the test environment after the test is run and therefore avoids issues with interations with other tests. Also, we now use the local administrator account in the member server to add the test account. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Mar 2 14:44:36 CET 2012 on sn-devel-104
* selftest: add more tests for plugin_s4_dcAndrew Bartlett2012-02-291-2/+2
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Feb 29 12:14:05 CET 2012 on sn-devel-104
* selftest: Do not run chgdcpass test on the main DCAndrew Bartlett2012-02-291-1/+1
| | | | | | | If winbindd has it's password changed from under it, it becomes grumpy. Andrew Bartlett
* selftest: plugin_s4_dc can now handle kerberos properlyAndrew Bartlett2012-02-271-1/+1
|
* selftest: Remove 'if have_ads_support:' from tests.pyAndrew Bartlett2012-02-161-18/+9
| | | | | | The selftest system now skips launching these if the environment is not available. Andrew Bartlett
* selftest: Run nsstest against more environmentsAndrew Bartlett2012-02-161-4/+5
|
* waf: Add initial unit test for samba_utils.Jelmer Vernooij2012-02-121-0/+1
|
* s3: check that a user in a bogus domain name is mapped to the localnetbios ↵Matthieu Patou2012-01-301-0/+1
| | | | | | | | | name of a domain member This means that if we authentify for BOGUS\administrator in AD domain FOREST with samba being domain member with the netbiosname MEMBER then BOGUS\administrator will be mapped to MEMBER\administrator if the password match.
* s4-selftest: Add test of RPC to a netbios aliasAndrew Bartlett2011-12-131-0/+1
| | | | | | This tries to ensure our netbios lookup code is still run. Andrew Bartlett
* s4-selftest Give local.resolve a real name to look upAndrew Bartlett2011-12-131-1/+2
|
* Add tests for srvsvc python interface. Thanks Dhananjay SatheJelmer Vernooij2011-12-081-0/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Dec 8 04:57:52 CET 2011 on sn-devel-104
* selftest: Some extra assertions.Jelmer Vernooij2011-12-081-0/+4
|
* s4-selftest re-enable nsstest on libnss_winbind.soAndrew Bartlett2011-12-071-1/+1
|
* s4: add blackbox test for the demote functionMatthieu Patou2011-12-051-0/+2
|
* s4-tests: Use long option names in test list script, to prevent 'eating' ↵Jelmer Vernooij2011-11-301-38/+38
| | | | --list argument when e.g. is not set.
* s4-testlist: Write diagnostic info to stderr, and purely test info to stdout.Jelmer Vernooij2011-11-301-2/+2
|
* s4:selftest/test_samba_tool.sh - add a basic unit test for the new "domain ↵Matthias Dieter Wallnöfer2011-11-271-1/+1
| | | | | | info" command Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4 dns: Add a first test caseKai Blin2011-11-171-0/+3
|
* s4-tests: Use plansmbtorturesuite where possible.Jelmer Vernooij2011-11-141-45/+45
|
* s4-tests: Remove unnecessary py suffix.Jelmer Vernooij2011-11-141-1/+1
|
* s4-tests: Allow listing tests run for iconv.Jelmer Vernooij2011-11-141-5/+6
|
* s4:selftest: samba4.urgent_replication.python needs to run as "dc:local"Stefan Metzmacher2011-11-141-1/+1
| | | | | | | | | 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
* selftesthelper: Fix argument order.Jelmer Vernooij2011-11-101-1/+1
|
* selftest: Make planoldpythontestsuite arguments consistent with ↵Jelmer Vernooij2011-11-101-1/+1
| | | | planpythontestsuite.
* selftest: Simplify calling of python tests.Jelmer Vernooij2011-11-101-14/+39
|
* selftest: Allow passing arbitrary number of additional python path values.Jelmer Vernooij2011-11-101-1/+1
|
* ldb: Re-apply pyldb fixes from Tridge and Amity, using unittest ratherJelmer Vernooij2011-11-101-1/+1
| | | | than samba.tests.
* test: use planpythontestsuite() for ldb.python testAndrew Tridgell2011-11-101-2/+1
| | | | Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
* test: enable time and user samba-tool testsSean Dague2011-11-101-0/+4
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* 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