summaryrefslogtreecommitdiff
path: root/source4/selftest/tests.py
AgeCommit message (Collapse)AuthorFilesLines
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
2011-08-13tests: Update test for s3 to s4 upgrade with two casesAmitay Isaacs1-1/+1
S3-member to S4-member and S3-dc to S4-dc Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-08-03selftest: test plugin_s4_dc against all ncacn_np testsAndrew Bartlett1-1/+1
Changes to the s3 epmapper behaviour seem to have fixed the rest of these tests. Andrew Bartlett
2011-08-03selftest: Add kerberos tests to plugin_s4_dc testsAndrew Bartlett1-3/+4
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-08-03selftest: Test encrypted RPC pipes against plugin_s4_dcAndrew Bartlett1-4/+5
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-21s4-test: added dbcheck run to test suiteAndrew Tridgell1-0/+3
This should catch corruption that happens during a test run Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-07-20selftest: Add tests to verify that the named pipe proxy works.Andrew Bartlett1-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>
2011-07-05ldb: make ldb a top level library for Samba 4.0Andrew Bartlett1-2/+2
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-24s4:selftest: test ntvfs.cifs with s4u2proxyStefan Metzmacher1-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
2011-06-21selftest: Run tests for libsmbclient and libnetapiAndrew Bartlett1-1/+5
This adds the known failure for the one test (netbios browsing) that fails. Andrew Bartlett
2011-06-07selftest: Fix 'make quicktest' on systems without LDAP development supportAndrew Bartlett1-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
2011-05-21s4-dsdb: add unit tests for dirsync controlMatthieu Patou1-0/+1
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-05-21s4: add blackbox test for renameMatthieu Patou1-0/+3
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat May 21 09:50:34 CEST 2011 on sn-devel-104
2011-05-18selftest: Re-enable strings.py from source3/stf as a python subunit testAndrew Bartlett1-0/+1
2011-05-09selftest: Test both users created in plugin_s4_dc environmentAndrew Bartlett1-0/+1
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon May 9 06:10:52 CEST 2011 on sn-devel-104
2011-05-08s4-selftest Add tests for proxy_samba4_dcAndrew Bartlett1-0/+1
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun May 8 20:03:45 CEST 2011 on sn-devel-104
2011-04-28selftest: s3member admember test to confirm s3/s4 interopabilityAndrew Bartlett1-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
2011-04-19selftest: Don't specify SELFTEST_TARGET as an env variableAndrew Bartlett1-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
2011-04-19s4-selftest Rename Samba4 'member' test environment to s4memberAndrew Bartlett1-14/+14
This will avoid a conflict with the s3 'member' environment. Andrew Bartlett
2011-04-19s4-selftest: Stop creating netbios aliases everywhereAndrew Bartlett1-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
2011-04-16selftest Remove selftest of the test subsystemAndrew Bartlett1-1/+0
The intereactions between selftest.pl and the target are now too complex to unit test like this any more. Andrew Bartlett
2011-04-16selftest: Start using the binary mapping at the python layer as wellAndrew Bartlett1-1/+1
2011-03-04s4:selftest: test using the machine account of the rodc against itselfStefan Metzmacher1-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
2011-02-27s4/tests: Include 'replica_sync' test in S4 test suiteKamen Mazdrashki1-0/+1
2011-02-22selftest move selftesthelpers to a top level helper scriptAndrew Bartlett1-138/+14
2011-02-14s4:selftest: add tests with seal and sign for backupkeyMatthieu Patou1-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
2011-02-09s4/tests: Implement a blackbox test for 'samba-tool drs' commandKamen Mazdrashki1-0/+1
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Feb 9 11:45:30 CET 2011 on sn-devel-104
2011-02-07s4-test: fixed samba4.policy.python test for top level buildAndrew Tridgell1-1/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07s4-test: fixed hard coded test paths for top level buildAndrew Tridgell1-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>
2011-02-07s4-test: allow make test to work from top level directoryAndrew Tridgell1-4/+8
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>
2011-01-19s4-dsdb Add PAC validation test to tokengroups test.Andrew Bartlett1-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
2011-01-18s4-gensec Extend python bindings for GENSEC and the associated testAndrew Bartlett1-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
2011-01-14s4-test: added a tokengroups testAndrew Tridgell1-0/+1
this tests that the remote tokenGroups match the internally calculated ones Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-12-27s4:selftest: selftest.pl already sets TEST_DATA_PREFIXStefan Metzmacher1-3/+2
metze
2010-12-11selftest-s4: Support listing smbtorture4 tests.Jelmer Vernooij1-35/+46
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 19:32:07 CET 2010 on sn-devel-104
2010-12-11s4:selftest: use correct name for the test "ECHO-UDP" => "echo.udp"Stefan Metzmacher1-1/+1
I wonder how commit 35fbc7bbda5851f7172538f79fc79be201f1d521 (s4-smbtorture: Make test names lowercase and dot-separated) ever passed make test. metze
2010-12-11s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij1-66/+61
This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
2010-12-10selftest: Make sure system subunit.run has TestProgram.Jelmer Vernooij1-1/+1
2010-12-10smbtorture: Rename --list to --list-suites, add stub --list.Jelmer Vernooij1-1/+1
2010-12-10s4-selftest: Add convenience function for running testsuites usingJelmer Vernooij1-9/+17
subunitrun.
2010-12-10selftest: Allow discovering tests in pure python testsuites.Jelmer Vernooij1-2/+2
2010-12-09s4 libcli: Add libcli_echo lib and torture testKai Blin1-0/+2
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Thu Dec 9 23:57:03 CET 2010 on sn-devel-104