Matthias Dieter Wallnöfer
b973c50836
s4:upgrade_from_s3 - Move it back to "setup"
...
Suggested by Jelmer
2009-11-28 19:25:12 +01:00
Matthias Dieter Wallnöfer
1af31aed0b
s4:tests.sh - Make also here the change from "upgrade" to "upgrade_from_s3"
2009-11-27 16:42:11 +01:00
Andrew Bartlett
6f0f82f7ed
s4:selftest Add tests for upgradeprovision
2009-11-27 16:05:05 +11:00
Stefan Metzmacher
575967a5cf
s4:selftest: fix logic for --option=torture:progress=no
...
metze
2009-11-18 06:50:24 +01:00
Stefan Metzmacher
4750155071
s4:selftest: use "dc:local" instead of a hardcoded config file
...
If a tests needs access to the dc's config, it should run
as "dc:local", then it can also access unix named pipes...
If we pass a hardcoded config file the test fails if you use
a selftest_prefix.
metze
2009-11-17 09:00:48 +01:00
Kamen Mazdrashki
3abe0ad7de
s4: DRS-RPC tests added to RPC group of tests
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06 14:05:41 +01:00
Kamen Mazdrashki
7a51b3adc2
s4: Add DRS-UNIT test suite to LOCAL group of tests to be executed
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06 14:05:40 +01:00
Zahari Zahariev
5fb9d06607
Python tests for the acl module.
...
Signed-off-by: Nadezhda Ivanova <nadezhda.ivanova@postpath.com>
Author: Zahari Zahariev <zahari.zahariev@postpath.com>
2009-11-05 17:40:54 +02:00
Andrew Tridgell
0fca2b078c
s4-selftest: lower some of the timeouts during make test
...
This speeds up some of the delay based tests by a lot. There is no
need to have long delays during testing.
2009-10-23 15:38:54 +11:00
Jelmer Vernooij
95fafa9d83
selftest: Prefer system tap2subunit if available.
2009-09-27 16:34:59 +02:00
Jelmer Vernooij
52a17e5c32
pygensec: Add initial work on a gensec Python module.
2009-09-26 19:41:59 +02:00
Jelmer Vernooij
5cf25fd225
Revert "s4:python fixed subunit tests of dcerpc"
...
This reverts commit ffd48a79ee
.
2009-09-24 15:03:58 +02:00
Zahari Zahariev
fec33db90e
Tests for descriptor inheritance
...
Signed-off-by: Nadezhda Ivanova <nadezhda.ivanova@postpath.com>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-09-16 07:51:45 -07:00
Andrew Tridgell
ffd48a79ee
s4:python fixed subunit tests of dcerpc
...
The version of the unitest python module in Ubuntu Jaunty doesn't seem
to support this many level of subdirectories. Moving the tests up one
level solves the problem.
2009-09-04 18:07:04 +10:00
Andrew Bartlett
e13c14e7e4
s4:torture Add test for the NTP signd server
...
This is used by at patch to the NTP project to supply authenticated
time as required by MS-SNTP. (ie, to keep windows clients in time sync
in the domain)
Andrew Bartlett
2009-08-11 18:22:12 +10:00
Andrew Bartlett
57d690b6f6
s4:torture rework LDAP sort test
...
This reworks the test to be part of the LDAP tests, to make better use
of the torture API and the ldb API (in particular around adding
controls), and a general cleanup.
This also adds the test to the 'make test' run.
Andrew Bartlett
2009-08-04 13:11:07 +10:00
Andrew Bartlett
cdd7a5208f
s4:kerberos Add test to show that we actually export the keytab
...
While it is hard to prove it is correct, at least the new
'nettestuser' principal and the Administrator principal are correct.
We had to fix the case of 'Administrator' in the selftest code to
match the DB, as the keytab lookup is case sensitive.
Andrew Bartlett
2009-07-27 22:41:43 +10:00
Andrew Bartlett
1e6fb7d730
s4: Add tests and 'must change password' flags in setpassword and newuser
...
In particular, ensure that we can acutally change the password under
these circumstances.
Andrew Bartlett
2009-06-18 13:49:30 +10:00
Jelmer Vernooij
a5563d2925
selftest: Use common function when skipping testsuites based on run-time
...
conditions.
2009-06-18 03:08:21 +02:00
Jelmer Vernooij
f7ada51c29
python: Add API for accessing available shares.
2009-06-16 02:28:10 +02:00
Andrew Tridgell
c6f5e1ba84
fixed some places where RPC-SECRETS needs to be changed to RPC-LSA-SECRETS
...
this copes with a rename of SECRETS to LSA-SECRETS in an earlier patch
by gd
2009-06-10 12:24:12 +10:00
Jelmer Vernooij
6b0e6fc0b3
s4-tests: Add separate variable for tap2subunit.
2009-06-09 21:54:05 +02:00
Günther Deschner
71caa90cd8
s4-selftest: change rpc.secrets to rpc.lsa.secrets here as well.
...
Guenther
2009-06-09 15:32:36 +02:00
Andrew Bartlett
3ce37ae750
Don't run the RPC-SAMR-LARGE-DC test multiple times
2009-06-04 11:22:52 +10:00
Jelmer Vernooij
7fddc71caa
selftest: Run tests for Samba4 target in the samba 4 testsuite.
2009-06-03 16:26:30 +02:00
Jelmer Vernooij
87bbae7b07
Rename harness2subunit.pl -> tap2subunit to be consistent with the
...
subunit tools.
2009-06-03 16:26:29 +02:00
Jelmer Vernooij
ac9ff3574d
Fix pythonpath so subunit can be found.
2009-06-02 18:05:42 +02:00
Andrew Bartlett
10f076a77d
Explicitly list RPC-SAMR-PASSWORDS-PWDLASTSET and RPC-SAMR-USERS-PRIVILAGES as slow
2009-05-29 11:56:26 +10:00
Jelmer Vernooij
5065cf70f8
tevent: Remove python module.
...
This module didn't have any functionality that we actually used yet, and
it was quite small.
Tevent is quite low level and perhaps doesn't make much sense to expose
directly as a Python module. It was also causing build problems when used with a
system-tevent. We can always back later if necessary.
2009-05-16 14:56:37 +02:00
Andrew Bartlett
1856b999c8
python/rpc: Add custom GUID.__str__, GUID.__repr__, GUID.__init__ and GUID.__cmp__.
2009-04-21 11:14:11 +02:00
Andrew Tridgell
9d50c6b603
enable testing of possibleInferiors generation
2009-04-09 14:37:52 +10:00
Björn Jacke
be479b6adf
don't rely on shebang's perl path, call our $PERL instead
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-03-07 08:18:46 +01:00
Björn Jacke
88bd0f2ac6
some shells are picky about ^ without quotes
2009-03-02 13:05:02 +01:00
Björn Jacke
fe8cf69ec6
don't hardcode python path
...
Signed-off-by: Michael Adam <obnox@samba.org>
2009-02-26 21:28:53 +01:00
Stefan Metzmacher
7c72853b50
s4:selftest: don't use hardcoded pathes
...
metze
2009-02-03 16:31:04 +01:00
Stefan Metzmacher
01f30a5e8e
s4:selftest: run RPC-COUNTCALLS as dc:local
...
metze
2009-01-30 13:34:28 +01:00
Stefan Metzmacher
3f967153c0
s4:selftest: run ncalrpc tests in dc:local mode
...
metze
2009-01-30 13:34:27 +01:00
Stefan Metzmacher
6b128f03d5
selftest: don't export $CONFIGURATION anymore only $SMB_CONF_PATH
...
metze
2009-01-30 13:33:34 +01:00
Stefan Metzmacher
52a49b448e
selftest: allow environment options
...
We support "local" and "client" (default) now.
We can decide if we want to run a client against the server
(with a special client.conf) or if we want to run tests localy
on the server with the same config as the server.
metze
2009-01-30 09:36:53 +01:00
Stefan Metzmacher
ccffe1ca71
s4:selftest: reference binaries via variables in tests.sh
...
metze
2009-01-21 13:35:36 +01:00
Stefan Metzmacher
2885a7ab6e
s4:selftest: report tevent tests as 'tevent.python'
...
metze
2009-01-02 18:16:55 +01:00
Jelmer Vernooij
7f148a2cf8
Fix Python event tests after rename to tevent.
2008-12-18 16:51:59 +00:00
Kai Blin
91a7c8b01b
nsswitch: Fix paths for Samba4 blackbox wbinfo test
2008-12-16 15:46:03 +01:00
Jelmer Vernooij
2ee8d29d22
Prevent warning about directory already existing.
2008-10-21 14:29:38 +02:00
Jelmer Vernooij
c3d8f472e8
Export variables correctly for blackbox tests (thanks metze).
2008-10-20 10:53:26 +02:00
Jelmer Vernooij
c0de338394
Move Samba4-specific code out of selftest.
2008-10-19 16:07:00 +02:00
Jelmer Vernooij
7e088ec354
Fix comment after paths have changed.
2008-10-19 14:41:10 +02:00
Jelmer Vernooij
0fd0fc75c4
Merge branch 'master' of ssh://git.samba.org/data/git/samba into selftest
...
Conflicts:
selftest/selftest.pl
2008-10-11 03:12:21 +02:00
Jelmer Vernooij
182a0e3490
Move selftest code to top-level.
2008-09-18 19:51:03 +02:00