summaryrefslogtreecommitdiff
path: root/source4/selftest/tests.py
AgeCommit message (Collapse)AuthorFilesLines
2012-04-10ldb: Detect failures in ldb.base againAndrew Bartlett1-2/+1
We need to wrap the ldb tests in the subunit blackbox helpers. We also needed to change to the right directory, or else the :< file:// syntax check does not work, as samba4.png is not found. Andrew Bartlett
2012-03-26wafsamba: Cope with slight differences in gdb output regarding incomplete ↵Jelmer Vernooij1-1/+1
sequences. Bug: https://bugzilla.samba.org/show_bug.cgi?id=8820
2012-03-18s4:selftest: add a new testsuite for the "samba-tool group" commandMichael Adam1-0/+1
2012-03-08selftest: add more tests for different authentication codepathsAndrew Bartlett1-0/+1
2012-03-06policy/python: Move python binding tests to standard location.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Mar 6 02:26:29 CET 2012 on sn-devel-104
2012-03-06selftest/tests.py: Fix name of selftest.py for benefit of --load-list.Jelmer Vernooij1-1/+1
2012-03-05selftest: start to run more dcerpc tests against plugin_s4_dcAndrew Bartlett1-1/+2
2012-03-04Run selftest.py tests.Jelmer Vernooij1-0/+1
2012-03-02selftest: Rework samba4.blackbox.bogusdomain to use a temporary userAndrew Bartlett1-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
2012-02-29selftest: add more tests for plugin_s4_dcAndrew Bartlett1-2/+2
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Feb 29 12:14:05 CET 2012 on sn-devel-104
2012-02-29selftest: Do not run chgdcpass test on the main DCAndrew Bartlett1-1/+1
If winbindd has it's password changed from under it, it becomes grumpy. Andrew Bartlett
2012-02-27selftest: plugin_s4_dc can now handle kerberos properlyAndrew Bartlett1-1/+1
2012-02-16selftest: Remove 'if have_ads_support:' from tests.pyAndrew Bartlett1-18/+9
The selftest system now skips launching these if the environment is not available. Andrew Bartlett
2012-02-16selftest: Run nsstest against more environmentsAndrew Bartlett1-4/+5
2012-02-12waf: Add initial unit test for samba_utils.Jelmer Vernooij1-0/+1
2012-01-30s3: check that a user in a bogus domain name is mapped to the localnetbios ↵Matthieu Patou1-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.
2011-12-13s4-selftest: Add test of RPC to a netbios aliasAndrew Bartlett1-0/+1
This tries to ensure our netbios lookup code is still run. Andrew Bartlett
2011-12-13s4-selftest Give local.resolve a real name to look upAndrew Bartlett1-1/+2
2011-12-08Add tests for srvsvc python interface. Thanks Dhananjay SatheJelmer Vernooij1-0/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Dec 8 04:57:52 CET 2011 on sn-devel-104
2011-12-08selftest: Some extra assertions.Jelmer Vernooij1-0/+4
2011-12-07s4-selftest re-enable nsstest on libnss_winbind.soAndrew Bartlett1-1/+1
2011-12-05s4: add blackbox test for the demote functionMatthieu Patou1-0/+2
2011-11-30s4-tests: Use long option names in test list script, to prevent 'eating' ↵Jelmer Vernooij1-38/+38
--list argument when e.g. is not set.
2011-11-30s4-testlist: Write diagnostic info to stderr, and purely test info to stdout.Jelmer Vernooij1-2/+2
2011-11-27s4:selftest/test_samba_tool.sh - add a basic unit test for the new "domain ↵Matthias Dieter Wallnöfer1-1/+1
info" command Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-17s4 dns: Add a first test caseKai Blin1-0/+3
2011-11-14s4-tests: Use plansmbtorturesuite where possible.Jelmer Vernooij1-45/+45
2011-11-14s4-tests: Remove unnecessary py suffix.Jelmer Vernooij1-1/+1
2011-11-14s4-tests: Allow listing tests run for iconv.Jelmer Vernooij1-5/+6
2011-11-14s4:selftest: samba4.urgent_replication.python needs to run as "dc:local"Stefan Metzmacher1-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
2011-11-10selftesthelper: Fix argument order.Jelmer Vernooij1-1/+1
2011-11-10selftest: Make planoldpythontestsuite arguments consistent with ↵Jelmer Vernooij1-1/+1
planpythontestsuite.
2011-11-10selftest: Simplify calling of python tests.Jelmer Vernooij1-14/+39
2011-11-10selftest: Allow passing arbitrary number of additional python path values.Jelmer Vernooij1-1/+1
2011-11-10ldb: Re-apply pyldb fixes from Tridge and Amity, using unittest ratherJelmer Vernooij1-1/+1
than samba.tests.
2011-11-10test: use planpythontestsuite() for ldb.python testAndrew Tridgell1-2/+1
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-11-10test: enable time and user samba-tool testsSean Dague1-0/+4
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-02s4-selftest: add unit tests for sites's function in pythonMatthieu Patou1-0/+1
2011-10-28The xcopy test is used in unusual ways (via a different uid). Ensure we can ↵Jeremy Allison1-9/+9
cope with this.
2011-10-20s4-selftest: Add tests for RPC dnsserverAmitay Isaacs1-0/+1
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-10-19samba.getopt: Add some basic tests.Jelmer Vernooij1-0/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Oct 19 05:04:33 CEST 2011 on sn-devel-104
2011-10-11auth: move credentials layer to the top levelAndrew Bartlett1-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
2011-10-08selftest: run dfs tests on plugin_s4_dcStefan Metzmacher1-0/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Oct 8 03:18:54 CEST 2011 on sn-devel-104
2011-09-20lib/util/charset: remove charset module loadingAndrew Bartlett1-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
2011-09-19s4:selftest: run the nbt tests before the smb testsStefan Metzmacher1-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
2011-09-13selftest: add test for subdomain supportAndrew Bartlett1-2/+3
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 Bartlett1-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
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