summaryrefslogtreecommitdiff
path: root/source4/selftest
AgeCommit message (Collapse)AuthorFilesLines
2010-08-11s4-test: Move RPC-DSSYNC test in DRS-RPC test suiteKamen Mazdrashki1-1/+1
2010-07-31s4:selftest: skip samba4.blackbox.ktpass for now as it's not portableStefan Metzmacher1-0/+3
ktutil might not be installed or from MIT. We should build a samba4ktutil and use that instead, until then we need to skip this test. metze
2010-07-17s4 unittests: add blackblox test for ktpassMatthieu Patou1-0/+1
2010-07-16s4:testprogs Operate the blackbox kinit and net tests using the :local configAndrew Bartlett1-5/+5
This :local tells selftest.pl to use the local smb.conf for the test environment, not the generic client smb.conf This then makes the rest work properly - otherwise, it may attempt to connect to the wrong KDC for example. The only problem is that we can't test the 'net join' with this set, so this is removed from the test. The member server test environment checks this anyway. Andrew Bartlett
2010-07-15s4: Unit test update_machine_account_password through kinitMatthieu Patou1-0/+1
This patch is for testing the chgdcpass script which is mostly a call to update_machine_account_password. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-10s4 net: Add spn module to list/add/remove spn on objectsMatthieu Patou1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-07-09s4:selftest: run RPC-SAMR-LARGE-DC against the vampire_dc to test the rid ↵Stefan Metzmacher1-0/+5
alloc code metze
2010-06-30s4:dsdb: move dsdb python tests from lib/ldb/ to dsdb/Stefan Metzmacher1-8/+8
metze
2010-06-29s4-smbtorture: add netr_GetForestTrustInformation test to RPC-NETLOGON.Günther Deschner1-0/+1
Guenther
2010-06-29s4:selftest Split out PKINIT tests from test_kinit.sh and test enc typesAndrew Bartlett1-1/+4
This allows us to run the PKINIT tests only against the main DC (for which the certificates were generated), while testing the available encryption types in each functional level. In particular, we need to assert that AES encryption is available in the 2008 functional level. Andrew Bartlett
2010-06-28selftest: Remove accidentally committed dummy test.Jelmer Vernooij1-1/+0
2010-06-28s4:selftest - also "rpc.samr.users.privileges" does work nowMatthias Dieter Wallnöfer1-1/+0
2010-06-28s4:knownfail - "pwdLastSet" test does work nowMatthias Dieter Wallnöfer1-1/+0
2010-06-28s4/test: Run DrsDeleteObjectTestCase as part of S4 testingKamen Mazdrashki1-0/+3
I put this test in the end of the list of tests as it runs with 'vampire_dc' environment running. Currently there are tests that are failing when we have 2 DCs constantly replicating in the test environment (this, of course, should be fixed in the near future)
2010-06-25smbtorture: Fix loading of --load-list.Jelmer Vernooij1-0/+1
2010-06-25selftest: Store the output of the last test run in st/subunit.Jelmer Vernooij1-3/+10
If a testrepository repository is present, add the test output when it has completed.
2010-06-23s4:selftest Fix up netbios names for rpc_echo testAndrew Bartlett1-1/+1
2010-06-23s4:selftest Add 2003 and 2008R2 test environments and testsAndrew Bartlett1-42/+42
These tests were chosen particularly because they are known to test things that vary across the functional levels. Andrew Bartlett
2010-06-20policy: Add samba.policy.get_gpo_flags binding.Jelmer Vernooij1-0/+1
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20make test modules for net group set of commands and modification to the ↵Lukasz Zalewski1-1/+2
newuser to include additional parameters Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20s4 upgradeprovision: Move functions to helpers and improve codeMatthieu Patou1-1/+2
Among code improvement the most significant part is that we now compare DN object instead of their string representation. It allow to better react to case an white space difference. Some new move objects have been added (ie. System into well known security principals). This will allow more unittesting Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20s4 python: Add unit tests for upgradeprovision related stuffMatthieu Patou1-0/+1
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-18unittest: Change the name of the base ldb test so that it can be easily ↵Matthieu Patou1-2/+2
called separatly
2010-06-16s4:selftest Add test environment for functional level 2000Andrew Bartlett1-0/+2
This required that we pass the name of the realm down as a parameter, so we can start up two different realms. Andrew Bartlett
2010-06-15s4:selftest Remove becomedc tests from knownfail, these should now passAndrew Bartlett1-1/+0
Signed-off-by: Kamen Mazdrashki <kamenim@samba.org>
2010-06-13s4-test: Use smb.conf path set in environment rather than usingJelmer Vernooij1-8/+8
command-line options. This is the first step towards supporting custom test runners.
2010-05-18s4:smb_server: add dfs smbtorture to selftestsMatthieu Patou1-0/+6
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-12s4-selftest: skip RAP-SAM tests against Samba 4.Günther Deschner1-0/+1
Guenther
2010-05-10s4:passwords.py - add a python unittest for additional testing of my ↵Matthias Dieter Wallnöfer1-0/+1
passwords work This performs checks on direct password changes over LDB/LDAP. Indirect password changes over the RPCs are already tested by some torture suite (SAMR passwords). So no need to do this again here.
2010-05-10s4:selftest: add --socket-wrapper[-keep]-pcap options to "waf test"Stefan Metzmacher1-0/+10
metze
2010-04-28s4-selftest: skip RAP-PRINTING tests.Günther Deschner1-0/+1
Guenther
2010-04-27s4:knownfail - remove tests which should passMatthias Dieter Wallnöfer1-4/+0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-15s4 python: add a unit test for function dsdb_get_oid_from_attidMatthieu Patou1-0/+1
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-04-15s4:selftest/wscript: --enable-selftest and --with-selftest-prefix are ↵Stefan Metzmacher1-8/+10
configure options metze
2010-04-10selftest: Support passing --load-list to test runners.Jelmer Vernooij1-0/+15
2010-04-09s4:LDB - fix up "LDAPI" testMatthias Dieter Wallnöfer1-1/+3
Set the "options" environment variable in a deterministic manner.
2010-04-09selftest: make sure filter-subunit and format-subunit use unbuffered ioStefan Metzmacher2-4/+4
metze
2010-04-09s4:selftest: mark some smb2.compound tests as knownfailStefan Metzmacher1-0/+3
metze
2010-04-09s4-waf: added --gdbtest option for waf testAndrew Tridgell1-1/+7
2010-04-09s4/test: Add DRS-UNIT test suite to 'quicktests' listKamen Mazdrashki1-0/+1
2010-04-09s4/test: add shemaInfo torture test to automated test suiteKamen Mazdrashki1-0/+1
2010-04-08selftest: Add --filtered-subunit option.Jelmer Vernooij1-1/+6
2010-04-08s4-waf: Support --load-list option.Jelmer Vernooij1-1/+5
2010-04-08build: allow the waf build to work with python 3.0 and 3.1Thomas Nagy1-4/+4
Python 3.x is a bit fussier about print statements and indentation. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-06s4-waf: format-subunit and filter-subunit are in python nowAndrew Tridgell1-2/+2
2010-04-06s4-waf: filter-subunit has been renamedAndrew Tridgell1-1/+1
2010-04-06s4-waf: added a --enable-selftest option as a shortcutAndrew Tridgell1-0/+10
This is equiavalent to --enable-uid-wrapper --enable-nss-wrapper --enable-socket-wrapper but is easier to remember!
2010-04-06s4-waf: show the fully expanded test commandAndrew Tridgell1-0/+2
this makes it easier to run it separately
2010-04-06s4-waf: use the versions of perl/python found by configureAndrew Tridgell1-4/+2
2010-04-06s4-waf: don't assume perl takes -W optionAndrew Tridgell1-2/+2