summaryrefslogtreecommitdiff
path: root/source4/selftest
Commit message (Collapse)AuthorAgeFilesLines
* selftest: Improve test coverage of DRS (bug #8680)Matthieu Patou2013-05-231-25/+26
| | | | | | | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* selftest: Rename samba4.blackbox.upgradeprovision.py to ↵Andrew Bartlett2013-03-041-1/+1
| | | | | | | | | | samba4.blackbox.upgradeprovision.current This name matches the other upgradeprovision tests for older saved provisions. Andrew Bartlett Reviewed-by: Stefan Metzmacher <metze@samba.org>
* selftest: Add in a provision from 4.0.0 to run tests againstAndrew Bartlett2013-03-0421-0/+80210
| | | | Reviewed-by: Stefan Metzmacher <metze@samba.org>
* selftest: rename 'promoted_vampire_dc' to 'promoted_dc'Stefan Metzmacher2013-01-271-2/+2
| | | | | | | | | | Unix domain socket are limited to 104 characters on Linux. Using something like this fails as it uses more than 104 characters: '/memdisk/autobuild/flakey/b232141/samba/bin/ab/promoted_vampire_dc/private/smbd.tmp/msg/msg.482379.2147483647' Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* selftest: Add test of upgradeprovision using the old alpha13 treeAndrew Bartlett2013-01-271-5/+5
| | | | | | | | | | | This ensures that upgradeprovision works as expected on a known good old database. Andrew Bartlett Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sun Jan 27 11:55:54 CET 2013 on sn-devel-104
* selftest: Add test for rfc2307 mapping handlingAndrew Bartlett2013-01-101-0/+1
| | | | Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s4-selftest: make sure to test rpc.samr.passwords.validate over ncacn_ip_tcp.Günther Deschner2012-12-121-1/+1
| | | | | | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Dec 12 13:13:47 CET 2012 on sn-devel-104
* selftest: check that samba-tool gpo works for basic operationsAndrew Bartlett2012-11-061-0/+7
| | | | | Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Add samba-tool processes subcommandAndrew Bartlett2012-10-311-0/+1
| | | | | | | | | | | This will allow administrators to inspect the process list in a similar way to what running on a platform with setproctitle might permit. --pid= returns the registered server names for a PID (eg kdc, cldap_server) --name= returns the pids registered with a particular name. Andrew Bartlett
* source4.selftest.tests: Add FIXME about database verification.Jelmer Vernooij2012-10-271-0/+2
|
* source4.selftest.tests: Add suffix for smbclient4/nmblookup4.Jelmer Vernooij2012-10-271-16/+16
|
* selftesthelpers: Add function for printing smbtorture4 version.Jelmer Vernooij2012-10-271-2/+1
|
* selftest: Move determining of smbtorture4 options to selftesthelpers.Jelmer Vernooij2012-10-271-10/+7
|
* selftest/selftesthelpers: Share environment handling for extra smbtorture ↵Jelmer Vernooij2012-10-271-6/+6
| | | | options.
* selftesthelpers: Share code for listing smbtorture4 tests.Jelmer Vernooij2012-10-271-13/+0
|
* source4.selftest.tests: Rename plansmbtorturesuite() to plansmbtorture4suite().Jelmer Vernooij2012-10-271-60/+60
|
* source4.selftest.tests: Consistent naming of smbtorture binary.Jelmer Vernooij2012-10-271-25/+25
|
* selftest: Move more tests to common list script.Jelmer Vernooij2012-10-121-29/+0
| | | | | Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Fri Oct 12 02:06:42 CEST 2012 on sn-devel-104
* selftest: Move some tests to common test script.Jelmer Vernooij2012-10-111-2/+0
|
* samba4-tests: Move 'samba.tests.source' up.Jelmer Vernooij2012-09-271-1/+0
| | | | | | | | We would like to run this as early as possible so we get a quick failure when there is trailing whitespace. Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Thu Sep 27 20:26:27 CEST 2012 on sn-devel-104
* s4 dns: Add libaddns-based simple testsKai Blin2012-09-121-0/+2
|
* s4 dns: Run python tests in fl2003dc envKai Blin2012-09-121-1/+2
|
* s4:selftest: run thet dlz_bind9. tests in the chgdcpass envStefan Metzmacher2012-09-121-1/+1
| | | | metze
* selftest: Add tests for the dlz_bind9 moduleAndrew Bartlett2012-09-061-0/+4
| | | | | | | | This will help ensure that we do not break the fundemental loading etc. From here, it should be easy to extend this to more comprehensive tests. Andrew Bartlett
* selftest: Add a test for smbclient --machine-pass without secrets.tdbAndrew Bartlett2012-08-291-1/+1
| | | | | | | Errors in handling the upgrade case without a matching secrets.tdb caused segfaults in the server. This essentially tests both sides. Andrew Bartlett
* selftest: Add test of smbclient --machine-pass against and using both s3 and s4Andrew Bartlett2012-08-281-0/+3
| | | | | | This uses both smbclient binaries to ensure that both work in both environments. Andrew Bartlett
* s4-selftest: Add testing of samba-tool ntacl sysvolresetAndrew Bartlett2012-08-231-0/+1
|
* selftest: Add a test of the NT ACL -> posix ACL mapping layer to selftestAndrew Bartlett2012-08-231-0/+1
|
* s3-libsmb: Add a simple test for python bindingsVolker Lendecke2012-08-161-0/+2
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu Aug 16 22:49:06 CEST 2012 on sn-devel-104
* selftest: Rename samba4.blackbox.pdbtest to samba.blackbox.pdbtestAndrew Bartlett2012-08-081-1/+1
| | | | | | | | | This test covers s3dc as well. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Aug 8 09:57:14 CEST 2012 on sn-devel-104
* s4-selftest: do a dbcheck on our two vampire DCsAndrew Bartlett2012-07-061-1/+1
| | | | | | | | | | | However, due to using --domain-critical-only we have to knownfail the vampire DC here, as we do not fill in the backlinks on non-critical objects correctly. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Jul 6 16:54:10 CEST 2012 on sn-devel-104
* s4-selftest: Don't run lsarpc requiring a named pipe over tcpip.Andreas Schneider2012-07-061-1/+1
|
* s4-selftest: Don't plan lsa.secrets tests over tcpip.Andreas Schneider2012-07-061-4/+4
| | | | These will only work over a named pipe or ncalrpc.
* s4-selftest: Test samba-tool domain dcpromoAndrew Bartlett2012-07-061-1/+2
| | | | | | | This needs a new environment to test it properly. This requires a raise in the number of socket wrapper interfaces. Andrew Bartlett
* selftest: run pdbtest against s3dc as wellAndrew Bartlett2012-06-281-1/+1
| | | | | | | | | | | | This validates the password expiry, account disable in the s3 auth code and the save/restore of values in tdbsam. It also provides the first test of some net sam set subcommands. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Jun 28 20:39:38 CEST 2012 on sn-devel-104
* selftest: use a loop rather than declare tests for both dc and s3dcAndrew Bartlett2012-06-281-16/+16
|
* s4-selftest: expand passdb testingAndrew Bartlett2012-06-271-0/+1
| | | | This tests pdb_samba4 in the first instance
* s4-selftest: Add tests for dbcheck on an old database that needs repairAndrew Bartlett2012-06-161-0/+2
| | | | | | | | | We changed a lot since alpha13, so there are lots of legitimate errors to fix. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sat Jun 16 05:44:15 CEST 2012 on sn-devel-104
* selftest: Add targetdir and tdbrestore parameters to undump.shAndrew Bartlett2012-06-161-5/+22
|
* s4-selftest: Test samba-tool drs replicate --local --full-syncAndrew Bartlett2012-06-111-1/+1
|
* s4:selftest: change the blackbox.samba_tool_demote test to use a binary ↵Michael Adam2012-05-311-1/+1
| | | | mapping for smbclient
* s4:selftest: change the blackbox.passwords test to use a binary mapping for ↵Michael Adam2012-05-311-1/+1
| | | | smbclient
* s4:selftest: change the blackbox.pkinit test to use a binary mapping for ↵Michael Adam2012-05-311-1/+1
| | | | smbclient
* s4:selftest: change the blackbox.kinit test to use a binary mapping for ↵Michael Adam2012-05-311-3/+3
| | | | smbclient
* s4:selftest: change the blackbox.export.keytab test to use a binary mapping ↵Michael Adam2012-05-311-1/+1
| | | | for smbclient
* s4:selftest: change the blackbox.chgdcpass test to use a binary mapping for ↵Michael Adam2012-05-311-1/+1
| | | | smbclient
* s4:selftest: change the blackbox.samba_tool test to use a binary mapping for ↵Michael Adam2012-05-311-1/+1
| | | | smbclient
* s4:selftets: change the blackbox.bogusdomain test to use binary mapping for ↵Michael Adam2012-05-311-1/+1
| | | | smbclient
* s4:selftest: change the blackbox.smbclient test to use binary mapping for ↵Michael Adam2012-05-311-1/+2
| | | | smbclient
* s4:selftest: determine nmblookup via binary mapping for blackbox test in ↵Michael Adam2012-05-311-1/+3
| | | | tests.py