1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-03 01:18:10 +03:00
Commit Graph

517 Commits

Author SHA1 Message Date
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
Andrew Tridgell
e2a9af0be4 build: added --with-selftest-prefix 2010-04-06 20:27:01 +10:00
Andrew Tridgell
dc9010572c build: support systems without rpath 2010-04-06 20:26:58 +10:00
Andrew Tridgell
3ff3a11c33 build: use RUN_COMMAND() to wrap os.system() 2010-04-06 20:26:53 +10:00
Andrew Tridgell
dc68427b0e build: fixed st_done test completion code 2010-04-06 20:26:53 +10:00
Andrew Tridgell
495c5e2c83 build: added a lot more options to waf test 2010-04-06 20:26:50 +10:00
Andrew Tridgell
8a5c01a049 build: waf test now depends on build 2010-04-06 20:26:48 +10:00
Andrew Tridgell
5c0f9079c2 build: waf test now works (at least for some tests) 2010-04-06 20:26:48 +10:00
Andrew Tridgell
844acb2260 build: waf quicktest nearly works
Rewrote wafsamba using a new dependency handling system, and started
adding the waf test code
2010-04-06 20:26:48 +10:00
Andrew Tridgell
845e0cbe6f build: commit all the waf build files in the tree 2010-04-06 20:26:48 +10:00
Andrew Tridgell
f15a81c1c0 build: added ASN1, PIDL and ET build rules
also added selftest example command
2010-04-06 20:26:38 +10:00
Jelmer Vernooij
3ec8147105 selftest: for clarity, rename test to testsuite 2010-04-03 23:47:25 +02:00
Jelmer Vernooij
5f3fcf7a77 s4-python: Install external included packages only if they're not present on the system. 2010-03-31 03:56:24 +02:00
Jelmer Vernooij
beb630b690 s4-selftest: Fix xfail for base.delete. 2010-03-31 02:20:08 +02:00