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
Jelmer Vernooij
64bf8c400c
selftest: Support passing --load-list to test runners.
2010-04-10 22:38:32 +02:00
Matthias Dieter Wallnöfer
b253385611
s4:LDB - fix up "LDAPI" test
...
Set the "options" environment variable in a deterministic manner.
2010-04-09 23:36:11 +02:00
Stefan Metzmacher
bae564b0a3
selftest: make sure filter-subunit and format-subunit use unbuffered io
...
metze
2010-04-09 16:42:00 +02:00
Stefan Metzmacher
e1faff9071
s4:selftest: mark some smb2.compound tests as knownfail
...
metze
2010-04-09 16:28:31 +02:00
Andrew Tridgell
a591b8497d
s4-waf: added --gdbtest option for waf test
2010-04-09 20:44:25 +10:00
Kamen Mazdrashki
2763a4ac4e
s4/test: Add DRS-UNIT test suite to 'quicktests' list
2010-04-09 12:21:32 +03:00
Kamen Mazdrashki
7f0da64a49
s4/test: add shemaInfo torture test to automated test suite
2010-04-09 12:21:30 +03:00
Jelmer Vernooij
d0c25157e9
selftest: Add --filtered-subunit option.
2010-04-08 23:20:35 +02:00
Jelmer Vernooij
b59ba79b95
s4-waf: Support --load-list option.
2010-04-08 23:20:35 +02:00
Thomas Nagy
7f3116a63d
build: allow the waf build to work with python 3.0 and 3.1
...
Python 3.x is a bit fussier about print statements and indentation.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-08 07:46:39 +10:00
Andrew Tridgell
4731442dfa
s4-waf: format-subunit and filter-subunit are in python now
2010-04-06 20:27:22 +10:00
Andrew Tridgell
60bfedb8f4
s4-waf: filter-subunit has been renamed
2010-04-06 20:27:22 +10:00
Andrew Tridgell
77a4fe495e
s4-waf: added a --enable-selftest option as a shortcut
...
This is equiavalent to --enable-uid-wrapper --enable-nss-wrapper --enable-socket-wrapper
but is easier to remember!
2010-04-06 20:27:17 +10:00
Andrew Tridgell
9da89b4dda
s4-waf: show the fully expanded test command
...
this makes it easier to run it separately
2010-04-06 20:27:17 +10:00
Andrew Tridgell
172b8c55f7
s4-waf: use the versions of perl/python found by configure
2010-04-06 20:27:17 +10:00
Andrew Tridgell
6c76919ab5
s4-waf: don't assume perl takes -W option
2010-04-06 20:27:17 +10:00
Andrew Tridgell
8692ad4950
s4-waf: updated for new perl subunit options and filter name
2010-04-06 20:27:16 +10:00
Andrew Tridgell
f9eae32f4b
s4-waf: mark the wscript files as python so vim/emacs knows how to highlight them
2010-04-06 20:27:11 +10:00
Andrew Tridgell
ba0c7edf80
s4-waf: set CONFIG_H variable for selftest
2010-04-06 20:27:09 +10:00
Andrew Tridgell
6c3b69be9b
build: honor existing LD_LIBRARY_PATH settings when adding shared lib paths
2010-04-06 20:27:06 +10:00
Andrew Tridgell
65ffd1240d
s4-waf: don't hardcode python path
2010-04-06 20:27:05 +10:00