1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

551 Commits

Author SHA1 Message Date
Jelmer Vernooij
bf907d2c4a selftest: Support running individual tests using idlists, for testsuites that support them. 2010-09-21 22:54:35 -07:00
Jelmer Vernooij
1783d0d6fc s4-selftest: Use loadlist in a couple more places. 2010-09-21 22:54:35 -07:00
Jelmer Vernooij
ea1ed67d15 s4-test: Allow running individual tests for smbtorture tests. 2010-09-21 22:54:34 -07:00
Jelmer Vernooij
b17b6f7821 Update WHATSNEW.txt. 2010-09-20 12:11:05 -07:00
Andrew Tridgell
fcf576f002 s4-selftest: enable logging in valgrind server xterm
when running with valgrind on the server, enable logging in the xterm
so you get a permanent record of any errors
2010-09-15 15:39:36 +10:00
Anatoliy Atanasov
62b5274827 s4/fsmo: Added python tests for schema master transfer op 2010-09-10 13:08:21 +03:00
Andrew Tridgell
977db514b3 s4-test: added a RODC test using rpcecho
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-09 21:39:24 +10:00
Jelmer Vernooij
e4d1bdbe55 s4/selftest: Fix path to include/config.h, set BUILDDIR automatically. 2010-09-05 04:33:29 +02:00
Andrew Tridgell
502a5313c4 s4-pyrpc: convert rpc_talloc.py test to unittest framework
This fits in better with our test framework

Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-08-26 22:50:20 +10:00
Andrew Tridgell
e69b13ccdd s4-pyrpc: added a test for talloc behaviour in pidl python code 2010-08-25 23:05:05 +10:00
Sumit Bose
896f3c8a49 s4-smbtorture: Added a torture test for forest trusts
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-25 13:48:22 +02:00
Kamen Mazdrashki
a46ead0724 s4-test: Enable drs.rpc.msdsintid test case - it should be passing now 2010-08-19 03:34:04 +03:00
Stefan Metzmacher
656607943d s4:selftest: recreate $SELFTEST_PREFIX/s4client with each make test run
Otherwise just fill the disks of the build-farm hosts.

metze
2010-08-17 17:32:13 +02:00
Stefan Metzmacher
39f99e7d53 s4:selftest: run ldapi tests in 'dc:local' environment
metze
2010-08-17 17:32:11 +02:00
Kamen Mazdrashki
887b7306a7 s4-test: Add drs.rpc.msDSIntId test to knownfail tests 2010-08-15 01:02:33 +03:00
Kamen Mazdrashki
776a3cdc08 s4-test: Run all DRS-RPC.* tests in ncacn_ip_tcp_tests tests group
Andrew, please check.
2010-08-15 01:02:33 +03:00
Kamen Mazdrashki
c30f9bd734 s4-test: Move RPC-DSSYNC test in DRS-RPC test suite 2010-08-11 00:18:14 +03:00
Stefan Metzmacher
0b4247ef7a s4:selftest: skip samba4.blackbox.ktpass for now as it's not portable
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-31 11:31:43 +02:00
Matthieu Patou
e461e29cd9 s4 unittests: add blackblox test for ktpass 2010-07-17 17:56:16 +04:00
Andrew Bartlett
0e212acd32 s4:testprogs Operate the blackbox kinit and net tests using the :local config
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-16 07:08:41 +10:00
Matthieu Patou
0496af8341 s4: Unit test update_machine_account_password through kinit
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-15 22:08:20 +10:00
Matthieu Patou
cad04dabbb s4 net: Add spn module to list/add/remove spn on objects
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-07-10 11:18:17 +02:00
Stefan Metzmacher
9e928995f0 s4:selftest: run RPC-SAMR-LARGE-DC against the vampire_dc to test the rid alloc code
metze
2010-07-09 09:27:17 +02:00
Stefan Metzmacher
14f8953aa4 s4:dsdb: move dsdb python tests from lib/ldb/ to dsdb/
metze
2010-06-30 11:10:28 +02:00
Günther Deschner
b31ff0537a s4-smbtorture: add netr_GetForestTrustInformation test to RPC-NETLOGON.
Guenther
2010-06-29 17:13:01 +02:00
Andrew Bartlett
48c8896f2e s4:selftest Split out PKINIT tests from test_kinit.sh and test enc types
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-29 16:59:31 +10:00
Jelmer Vernooij
5f9a053d63 selftest: Remove accidentally committed dummy test. 2010-06-28 20:10:08 +02:00
Matthias Dieter Wallnöfer
666b611182 s4:selftest - also "rpc.samr.users.privileges" does work now 2010-06-28 14:51:08 +02:00
Matthias Dieter Wallnöfer
d01e36e647 s4:knownfail - "pwdLastSet" test does work now 2010-06-28 14:51:08 +02:00
Kamen Mazdrashki
a0bb31df5d s4/test: Run DrsDeleteObjectTestCase as part of S4 testing
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-28 04:43:29 +03:00
Jelmer Vernooij
0802f354ea smbtorture: Fix loading of --load-list. 2010-06-25 11:32:59 +02:00
Jelmer Vernooij
e0aa54d0ed selftest: Store the output of the last test run in st/subunit.
If a testrepository repository is present, add the test output when it
has completed.
2010-06-25 01:21:14 +02:00
Andrew Bartlett
ff5ace20a2 s4:selftest Fix up netbios names for rpc_echo test 2010-06-23 20:10:12 +10:00
Andrew Bartlett
1acd49c524 s4:selftest Add 2003 and 2008R2 test environments and tests
These tests were chosen particularly because they are known to test things
that vary across the functional levels.

Andrew Bartlett
2010-06-23 20:10:08 +10:00
Jelmer Vernooij
381e824658 policy: Add samba.policy.get_gpo_flags binding.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20 17:19:11 +02:00
Lukasz Zalewski
e55c012acc make test modules for net group set of commands and modification to the newuser to include additional parameters
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20 01:29:03 +02:00
Matthieu Patou
fbeacc1013 s4 upgradeprovision: Move functions to helpers and improve code
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-20 00:43:08 +02:00
Matthieu Patou
a466e0d61a s4 python: Add unit tests for upgradeprovision related stuff
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20 00:43:08 +02:00
Matthieu Patou
3fa38046cb unittest: Change the name of the base ldb test so that it can be easily called separatly 2010-06-18 10:04:28 +02:00
Andrew Bartlett
f9018bc0ea s4:selftest Add test environment for functional level 2000
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-16 09:57:52 +10:00
Andrew Bartlett
982f688c02 s4:selftest Remove becomedc tests from knownfail, these should now pass
Signed-off-by: Kamen Mazdrashki <kamenim@samba.org>
2010-06-15 10:51:35 +10:00
Jelmer Vernooij
51058213cb s4-test: Use smb.conf path set in environment rather than using
command-line options.

This is the first step towards supporting custom test runners.
2010-06-13 18:19:03 +02:00
Matthieu Patou
a79b446e11 s4:smb_server: add dfs smbtorture to selftests
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-18 15:31:14 +02:00
Günther Deschner
1cee92caaa s4-selftest: skip RAP-SAM tests against Samba 4.
Guenther
2010-05-12 00:20:56 +02:00
Matthias Dieter Wallnöfer
6131caad8f s4:passwords.py - add a python unittest for additional testing of my 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-10 19:12:27 +02:00
Stefan Metzmacher
47f74c89c9 s4:selftest: add --socket-wrapper[-keep]-pcap options to "waf test"
metze
2010-05-10 12:20:26 +02:00
Günther Deschner
db3a1b9d51 s4-selftest: skip RAP-PRINTING tests.
Guenther
2010-04-28 23:23:38 +02:00
Matthias Dieter Wallnöfer
4497080173 s4:knownfail - remove tests which should pass
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-27 15:24:43 +10:00
Matthieu Patou
ce28f854c0 s4 python: add a unit test for function dsdb_get_oid_from_attid
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-04-15 18:45:41 +02:00
Stefan Metzmacher
2fd0137a87 s4:selftest/wscript: --enable-selftest and --with-selftest-prefix are configure options
metze
2010-04-15 09:34:02 +02:00