summaryrefslogtreecommitdiffstats
path: root/source4/selftest/tests.py
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.
* 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
* 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
* lib/util/charset: remove charset module loadingAndrew Bartlett2011-09-201-3/+3
| | | | | | | | | | | | | 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
* 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-101-0/+6
| | | | | | | | 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
* 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
* 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>
* 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>
* s4-test: added dbcheck run to test suiteAndrew Tridgell2011-07-211-0/+3
| | | | | | 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>