summaryrefslogtreecommitdiff
path: root/source4/selftest
AgeCommit message (Collapse)AuthorFilesLines
2013-05-23selftest: Improve test coverage of DRS (bug #8680)Matthieu Patou1-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>
2013-03-04selftest: Rename samba4.blackbox.upgradeprovision.py to ↵Andrew Bartlett1-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>
2013-03-04selftest: Add in a provision from 4.0.0 to run tests againstAndrew Bartlett21-0/+80210
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2013-01-27selftest: rename 'promoted_vampire_dc' to 'promoted_dc'Stefan Metzmacher1-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>
2013-01-27selftest: Add test of upgradeprovision using the old alpha13 treeAndrew Bartlett1-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
2013-01-10selftest: Add test for rfc2307 mapping handlingAndrew Bartlett1-0/+1
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-12-12s4-selftest: make sure to test rpc.samr.passwords.validate over ncacn_ip_tcp.Günther Deschner1-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
2012-11-06selftest: check that samba-tool gpo works for basic operationsAndrew Bartlett1-0/+7
Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2012-10-31samba-tool: Add samba-tool processes subcommandAndrew Bartlett1-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
2012-10-27source4.selftest.tests: Add FIXME about database verification.Jelmer Vernooij1-0/+2
2012-10-27source4.selftest.tests: Add suffix for smbclient4/nmblookup4.Jelmer Vernooij1-16/+16
2012-10-27selftesthelpers: Add function for printing smbtorture4 version.Jelmer Vernooij1-2/+1
2012-10-27selftest: Move determining of smbtorture4 options to selftesthelpers.Jelmer Vernooij1-10/+7
2012-10-27selftest/selftesthelpers: Share environment handling for extra smbtorture ↵Jelmer Vernooij1-6/+6
options.
2012-10-27selftesthelpers: Share code for listing smbtorture4 tests.Jelmer Vernooij1-13/+0
2012-10-27source4.selftest.tests: Rename plansmbtorturesuite() to plansmbtorture4suite().Jelmer Vernooij1-60/+60
2012-10-27source4.selftest.tests: Consistent naming of smbtorture binary.Jelmer Vernooij1-25/+25
2012-10-12selftest: Move more tests to common list script.Jelmer Vernooij1-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
2012-10-11selftest: Move some tests to common test script.Jelmer Vernooij1-2/+0
2012-09-27samba4-tests: Move 'samba.tests.source' up.Jelmer Vernooij1-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
2012-09-12s4 dns: Add libaddns-based simple testsKai Blin1-0/+2
2012-09-12s4 dns: Run python tests in fl2003dc envKai Blin1-1/+2
2012-09-12s4:selftest: run thet dlz_bind9. tests in the chgdcpass envStefan Metzmacher1-1/+1
metze
2012-09-06selftest: Add tests for the dlz_bind9 moduleAndrew Bartlett1-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
2012-08-29selftest: Add a test for smbclient --machine-pass without secrets.tdbAndrew Bartlett1-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
2012-08-28selftest: Add test of smbclient --machine-pass against and using both s3 and s4Andrew Bartlett1-0/+3
This uses both smbclient binaries to ensure that both work in both environments. Andrew Bartlett
2012-08-23s4-selftest: Add testing of samba-tool ntacl sysvolresetAndrew Bartlett1-0/+1
2012-08-23selftest: Add a test of the NT ACL -> posix ACL mapping layer to selftestAndrew Bartlett1-0/+1
2012-08-16s3-libsmb: Add a simple test for python bindingsVolker Lendecke1-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
2012-08-08selftest: Rename samba4.blackbox.pdbtest to samba.blackbox.pdbtestAndrew Bartlett1-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
2012-07-06s4-selftest: do a dbcheck on our two vampire DCsAndrew Bartlett1-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
2012-07-06s4-selftest: Don't run lsarpc requiring a named pipe over tcpip.Andreas Schneider1-1/+1
2012-07-06s4-selftest: Don't plan lsa.secrets tests over tcpip.Andreas Schneider1-4/+4
These will only work over a named pipe or ncalrpc.
2012-07-06s4-selftest: Test samba-tool domain dcpromoAndrew Bartlett1-1/+2
This needs a new environment to test it properly. This requires a raise in the number of socket wrapper interfaces. Andrew Bartlett
2012-06-28selftest: run pdbtest against s3dc as wellAndrew Bartlett1-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
2012-06-28selftest: use a loop rather than declare tests for both dc and s3dcAndrew Bartlett1-16/+16
2012-06-27s4-selftest: expand passdb testingAndrew Bartlett1-0/+1
This tests pdb_samba4 in the first instance
2012-06-16s4-selftest: Add tests for dbcheck on an old database that needs repairAndrew Bartlett1-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
2012-06-16selftest: Add targetdir and tdbrestore parameters to undump.shAndrew Bartlett1-5/+22
2012-06-11s4-selftest: Test samba-tool drs replicate --local --full-syncAndrew Bartlett1-1/+1
2012-05-31s4:selftest: change the blackbox.samba_tool_demote test to use a binary ↵Michael Adam1-1/+1
mapping for smbclient
2012-05-31s4:selftest: change the blackbox.passwords test to use a binary mapping for ↵Michael Adam1-1/+1
smbclient
2012-05-31s4:selftest: change the blackbox.pkinit test to use a binary mapping for ↵Michael Adam1-1/+1
smbclient
2012-05-31s4:selftest: change the blackbox.kinit test to use a binary mapping for ↵Michael Adam1-3/+3
smbclient
2012-05-31s4:selftest: change the blackbox.export.keytab test to use a binary mapping ↵Michael Adam1-1/+1
for smbclient
2012-05-31s4:selftest: change the blackbox.chgdcpass test to use a binary mapping for ↵Michael Adam1-1/+1
smbclient
2012-05-31s4:selftest: change the blackbox.samba_tool test to use a binary mapping for ↵Michael Adam1-1/+1
smbclient
2012-05-31s4:selftets: change the blackbox.bogusdomain test to use binary mapping for ↵Michael Adam1-1/+1
smbclient
2012-05-31s4:selftest: change the blackbox.smbclient test to use binary mapping for ↵Michael Adam1-1/+2
smbclient
2012-05-31s4:selftest: determine nmblookup via binary mapping for blackbox test in ↵Michael Adam1-1/+3
tests.py