Volker Lendecke
2ce68d93f3
Make samba4.drs.fsmo.python knownfail
...
This frequently blocks autobuild for me, this time with
Testing for rid role transfer from localdc.samba.example.com to localvampiredc.samba.example.com
ERROR: Failed to initiate transfer of 'rid' role: LDAP error 52 LDAP_UNAVAILABLE - <Failed FSMO transfer: NT_STATUS_IO_TIMEOUT> <>
UNEXPECTED(failure): samba4.drs.fsmo.python(vampire_dc).fsmo.DrsFsmoTestCase.test_RIDMasterTransfer
REASON: _StringException: _StringException: Content-Type: text/x-traceback;charset=utf8,language=python
traceback
36E
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/testtools/runtest.py", line 128, in _run_user
return fn(*args)
File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 368, in _run_test_method
testMethod()
File "/memdisk/vlendec/a/b5798/samba4/source4/torture/drs/python/fsmo.py", line 125, in test_RIDMasterTransfer
self._role_transfer(role="rid", role_dn=self.rid_dn)
File "/memdisk/vlendec/a/b5798/samba4/source4/torture/drs/python/fsmo.py", line 97, in _role_transfer
self._net_fsmo_role_transfer(DC=self.dnsname_dc2, role=role)
File "/memdisk/vlendec/a/b5798/samba4/source4/torture/drs/python/fsmo.py", line 68, in _net_fsmo_role_transfer
self.assertEquals(ret, 0, "Transferring role %s to %s has failed!" % (role, DC))
AssertionError: Transferring role rid to localvampiredc.samba.example.com has failed!
0
NT_STATUS_IO_TIMEOUT -- does that mean that sn.samba.org is not powerful enough
to run this test successfully?
Volker
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Jun 4 15:24:20 CEST 2011 on sn-devel-104
2011-06-04 15:24:20 +02:00
Andrew Bartlett
e7cf95c541
selftest: Make knowfail/skip files consistent, always use ^prefix
...
Except in one case (where we mark printing tests as knownfail), this
has all our regular expressions start with ^, which ensures we don't
accidentially mix up the samba3/samba4 prefix here.
Because of the particular values in these files at the moment, this
should not change the set of tests, but it will help to ensure that
future edits follow the correct pattern.
Andrew Bartlett
2011-05-25 09:15:18 +10:00
Matthieu Patou
c2fa348831
s4-dsdb: add unit tests for dirsync control
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-05-21 16:25:19 +04:00
Matthieu Patou
49c99d0515
s4: add blackbox test for rename
...
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sat May 21 09:50:34 CEST 2011 on sn-devel-104
2011-05-21 09:50:34 +02:00
Andrew Bartlett
fa3e2fc8bb
selftest: Re-enable strings.py from source3/stf as a python subunit test
2011-05-18 16:12:08 +02:00
Andrew Bartlett
d13fb8ddd0
s4-selftest: gensec test is finished, don't skip
2011-05-18 16:12:07 +02:00
Andrew Bartlett
3dd76f2f56
selftest: Don't skip Samba3 tests in the top level build
...
The regular expressions here were not specific enough, they matched
the samba3. names from the source3/selftest/tests.py
Found by Andreas Schneider
Andrew Bartlett
2011-05-18 16:12:07 +02:00
Andreas Schneider
a2115b5626
waf: Enable Samba3 torture tests in top level build.
...
Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon May 16 13:57:01 CEST 2011 on sn-devel-104
2011-05-16 13:57:01 +02:00
Günther Deschner
74d82faa78
s4-smbtorture: add test_netremotetod.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon May 16 12:45:52 CEST 2011 on sn-devel-104
2011-05-16 12:45:52 +02:00
Andrew Bartlett
d957fd5ae7
selftest: Test both users created in plugin_s4_dc environment
...
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon May 9 06:10:52 CEST 2011 on sn-devel-104
2011-05-09 06:10:52 +02:00
Andrew Bartlett
5def7a1e5e
s4-selftest Add tests for proxy_samba4_dc
...
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Sun May 8 20:03:45 CEST 2011 on sn-devel-104
2011-05-08 20:03:45 +02:00
Stefan Metzmacher
e050677c7f
Revert "s4:selftest: skip s3member tests for now"
...
This reverts commit c5034ac315
.
This doesn't seem to help and isn't needed if the filesystem
has posix acl support.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Apr 29 08:23:01 CEST 2011 on sn-devel-104
2011-04-29 08:23:01 +02:00
Stefan Metzmacher
c5034ac315
s4:selftest: skip s3member tests for now
...
They are flakey, see
http://git.samba.org/autobuild.flakey/2011-04-28-1501/samba4.stdout
http://git.samba.org/autobuild.flakey/2011-04-28-1700/samba4.stdout
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Apr 28 18:42:06 CEST 2011 on sn-devel-104
2011-04-28 18:42:06 +02:00
Andrew Bartlett
fb5e1f4a65
selftest: s3member admember test to confirm s3/s4 interopability
...
This checks that Samba3 joins Samba4 correctly, and allows NTLM and
Kerberos logons from a live Samba4 DC.
This needs the common krb5.conf generation logic, and because we now
override KRB5_CONFIG we must update ktest to have a valid krb5.conf.
Based on an original patch by metze
Andrew Bartlett
2011-04-28 05:30:21 +02:00
Andrew Bartlett
5439553c96
selftest: Don't specify SELFTEST_TARGET as an env variable
...
It is much more reliable to specify it as a direct parameter, and this
is needed for the combined 'make test'.
Andrew Bartlett
2011-04-19 16:13:42 +10:00
Andrew Bartlett
790ceec78b
s4-selftest Rename Samba4 'member' test environment to s4member
...
This will avoid a conflict with the s3 'member' environment.
Andrew Bartlett
2011-04-19 14:26:59 +10:00
Andrew Bartlett
8f58b13579
s4-selftest: Stop creating netbios aliases everywhere
...
This reduces some of the clutter when we have quite so many server
configurations starting.
The one case that actually needs an alias (dc environment for the
test_nmblookup.sh test) will still keep it.
Andrew Bartlett
2011-04-19 14:26:58 +10:00
Andrew Bartlett
d9e29c0250
selftest Remove selftest of the test subsystem
...
The intereactions between selftest.pl and the target are now too
complex to unit test like this any more.
Andrew Bartlett
2011-04-16 11:43:05 +02:00
Andrew Bartlett
47b7c6fccf
selftest: Move Samba4 selftest wscript to the top level
2011-04-16 11:43:04 +02:00
Andrew Bartlett
48bb69ef00
selftest: Start using the binary mapping at the python layer as well
2011-04-16 11:43:04 +02:00
Andrew Bartlett
4fd6ebf544
selftest: Remove duplication between BUILDIR and BINDIR
...
Just have BINDIR, and have it default to ./bin
Andrew Bartlett
2011-04-16 11:43:04 +02:00
Günther Deschner
de5cec48a4
s4-smbtorture: add netsessiongetinfo() test.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Mar 18 02:11:38 CET 2011 on sn-devel-104
2011-03-18 02:11:38 +01:00
Günther Deschner
c8098246be
waf-selftest: allow to call "make test SUBUNIT_FORMATTER=cat".
...
Guenther
2011-03-10 23:25:04 +01:00
Stefan Metzmacher
4b86beb98b
s4:selftest: test using the machine account of the rodc against itself
...
This should test the non proxy rodc kdc path.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Mar 4 22:06:10 CET 2011 on sn-devel-104
2011-03-04 22:06:10 +01:00
Günther Deschner
bd675e0b15
s4-smbtorture: add netsessionenum rap torture test.
...
Guenther
2011-03-02 12:12:32 +01:00
Kamen Mazdrashki
ec5453427e
s4/tests: Include 'replica_sync' test in S4 test suite
2011-02-27 00:23:21 +02:00
Andrew Bartlett
a056792294
selftest move selftesthelpers to a top level helper script
2011-02-22 16:20:09 +11:00
Matthieu Patou
b2e126cddc
s4:selftest: add tests with seal and sign for backupkey
...
We need to specify sign and seal as the protocol operate really only on
sealed protected connections, in other case we are just checking that
the server returns something like unwilling to perform due to weak
security.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Feb 14 01:48:39 CET 2011 on sn-devel-104
2011-02-14 01:48:39 +01:00
Stefan Metzmacher
7f00aa9ef7
s4: Renable samba4.rpc.backupkey
...
This reverts commit 07fd397be7e30849f2c8452154edbee7dceccfe1.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-02-14 10:57:48 +11:00
Andrew Tridgell
14edbf7159
s4-build: need EXPAND_VARIABLES() for terminal in make test
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Feb 10 07:35:26 CET 2011 on sn-devel-104
2011-02-10 07:35:26 +01:00
Kamen Mazdrashki
4d058ca7c0
s4/tests: Implement a blackbox test for 'samba-tool drs' command
...
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Wed Feb 9 11:45:30 CET 2011 on sn-devel-104
2011-02-09 11:45:30 +01:00
Andrew Bartlett
ce461a7857
s4-selftest Fix valgrind and gdb options for top level build
...
Andrew Bartlett
2011-02-09 01:11:06 +01:00
Andrew Tridgell
ceb4b06c43
s4-test: fixed samba4.policy.python test for top level build
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07 13:22:01 +11:00
Andrew Tridgell
be5a709341
s4-test: fixed hard coded test paths for top level build
...
this fixes the various test plans that hard coded incorrect paths for
a top level build
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07 13:22:01 +11:00
Andrew Tridgell
6484da4859
s4-test: allow make test to work from top level directory
...
this fixes the path assumptions in Samba4 make test to allow it to
work from the top level directory.
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07 13:22:00 +11:00
Stefan Metzmacher
f464955534
s4:selftest: skip samba4.rpc.backupkey for now
...
metze
2011-02-05 12:16:46 +01:00
Jeremy Allison
e18b8c0730
Add knownfail for s4 for the new oplock test.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Jan 31 22:55:00 CET 2011 on sn-devel-104
2011-01-31 22:55:00 +01:00
Andreas Schneider
6cb2fb1c4a
s4-selftest: Mark epmapper as knownfail.
2011-01-27 14:41:40 +01:00
Stefan Metzmacher
039dd96be2
s4:selftest: mark samba4.nbt.winsreplication.owned as knownfail
...
This sometimes fails on a busy server.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Jan 20 09:29:12 CET 2011 on sn-devel-104
2011-01-20 09:29:12 +01:00
Stefan Metzmacher
3f09dc3444
s4:selftest/skip: remove samba4.tokengroups.python
...
metze
2011-01-20 08:35:07 +01:00
Andrew Bartlett
df4752e3ab
s4-selftest Remove knownfail for tokengroups test
...
The problem with this test (use of None rather than "" has been fixed)
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Jan 19 23:56:31 CET 2011 on sn-devel-104
2011-01-19 23:56:31 +01:00
Stefan Metzmacher
448388e609
s4:selftest/skip: add samba4.tokengroups.python
...
This fails randomly like this with an error (not a failure):
[651/695 in 27m37s] samba4.tokengroups.python(dc)
running client gensec_update
UNEXPECTED(error): samba4.tokengroups.python(dc).__main__.TokenTest.test_pac_groups
REASON: _StringException: _StringException: Content-Type: text/x-traceback;charset=utf8,language=python
traceback
1E2
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/testtools/runtest.py", line 128, in _run_user
return fn(*args)
File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 368, in _run_test_method
testMethod()
File "/memdisk/tridge/flakey/b2413/source4/source4/dsdb/tests/python/token_group.py", line 142, in test_pac_groups
(client_finished, client_to_server) = gensec_client.update(server_to_client)
TypeError: expected a string
0
FAILED (0 failures and 1 errors in 0 testsuites)
A summary with detailed information can be found in:
./st/summary
test: running (/usr/bin/perl /memdisk/tridge/flakey/b2413/source4/source4/../selftest/selftest.pl --prefix=./st --builddir=. --srcdir=. --exclude=./selftest/skip --testlist="/usr/bin/python ./selftest/tests.py|" --exclude=./selftest/slow --socket-wrapper && touch ./st/st_done) | /usr/bin/python -u ../selftest/filter-subunit --expected-failures=./selftest/knownfail --fail-immediately | tee ./st/subunit | /usr/bin/python -u ../selftest/format-subunit --prefix=./st --immediate
ERROR: test failed with exit code 1
metze
2011-01-19 19:37:03 +01:00
Andrew Bartlett
916cc7be85
s4-dsdb Add PAC validation test to tokengroups test.
...
This confirms that the groups obtained from a Kerberos PAC match those
that a manual search of a target LDAP server would reveal.
This should allow mixing of a KDC specified by krb5.conf to test Samba
or Windows alternatly.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Jan 19 13:13:48 CET 2011 on sn-devel-104
2011-01-19 13:13:48 +01:00
Andrew Bartlett
a1e1f02efe
s4-gensec Extend python bindings for GENSEC and the associated test
...
This now tests a real GENSEC exchange, including wrap and unwrap,
using GSSAPI. Therefore, it now needs to access a KDC.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Jan 18 11:41:26 CET 2011 on sn-devel-104
2011-01-18 11:41:26 +01:00
Andrew Tridgell
197f4b098b
s4-test: added a tokengroups test
...
this tests that the remote tokenGroups match the internally calculated
ones
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-01-14 16:39:33 +11:00
Stefan Metzmacher
d0cbbee2dd
s4:selftest: selftest.pl already sets TEST_DATA_PREFIX
...
metze
2010-12-27 15:37:56 +01:00
Jelmer Vernooij
6bc6c004fa
selftest-s4: Support listing smbtorture4 tests.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Dec 11 19:32:07 CET 2010 on sn-devel-104
2010-12-11 19:32:07 +01:00
Stefan Metzmacher
21d02c0626
s4:selftest: use correct name for the test "ECHO-UDP" => "echo.udp"
...
I wonder how commit 35fbc7bbda
(s4-smbtorture: Make test names lowercase and dot-separated)
ever passed make test.
metze
2010-12-11 11:06:56 +01:00
Jelmer Vernooij
35fbc7bbda
s4-smbtorture: Make test names lowercase and dot-separated.
...
This is consistent with the test names used by selftest, should
make the names less confusing and easier to integrate with other tools.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
2010-12-11 04:16:13 +01:00
Jelmer Vernooij
c565da0f71
selftest: Make sure system subunit.run has TestProgram.
2010-12-10 03:04:06 +01:00
Jelmer Vernooij
365cfb1c32
smbtorture: Rename --list to --list-suites, add stub --list.
2010-12-10 03:04:06 +01:00
Jelmer Vernooij
680a2fb517
s4-selftest: Add convenience function for running testsuites using
...
subunitrun.
2010-12-10 03:04:06 +01:00
Jelmer Vernooij
028ea57e55
selftest: Allow discovering tests in pure python testsuites.
2010-12-10 03:04:06 +01:00
Jelmer Vernooij
e6974b0ff0
selftest: add --list option.
2010-12-10 03:04:06 +01:00
Kai Blin
1f2518df5a
s4 libcli: Add libcli_echo lib and torture test
...
Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Thu Dec 9 23:57:03 CET 2010 on sn-devel-104
2010-12-09 23:57:03 +01:00
Jelmer Vernooij
ca495e67b2
samba.hostconfig: Move samba.shares into samba.hostconfig.
2010-11-28 17:23:27 +01:00
Jelmer Vernooij
4cf85a7193
s4-selftest: Ignore broken pipe error from grep.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Nov 28 05:45:05 CET 2010 on sn-devel-104
2010-11-28 05:45:05 +01:00
Jelmer Vernooij
d237698850
blackbox.ldb: Support using system ldbsearch.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Nov 27 04:32:11 CET 2010 on sn-devel-104
2010-11-27 04:32:11 +01:00
Kamen Mazdrashki
1b58074557
s4-tests: Make all DRS python tests to start with samba4.drs.* prefix
2010-11-23 18:01:05 +01:00
Jelmer Vernooij
6534358a1a
selftest: When running on the buildfarm, pipe everything through
...
filter-subunit for the exit code.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Nov 21 23:56:23 CET 2010 on sn-devel-104
2010-11-21 23:56:23 +01:00
Matthieu Patou
0d85d2b4bf
selftest: fix tap2subunit detection on system with tap2subunit but not correct subunit libs
...
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sun Nov 21 16:21:54 CET 2010 on sn-devel-104
2010-11-21 16:21:54 +01:00
Kamen Mazdrashki
dcd346c0e5
s4-tests: Make repl_schema.py test part of Samba4 test suite
...
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Thu Nov 11 19:38:18 UTC 2010 on sn-devel-104
2010-11-11 19:38:18 +00:00
Anatoliy Atanasov
4574d497ce
s4/test: Add bind.py to make test
...
bind.py is a place to have tests for ldb binding with different credentials.
For starter we have a simple bind with machine account.
2010-11-11 15:33:07 +00:00
Matthias Dieter Wallnöfer
79548f0da2
s4:selftest/tests.py - skip the "passwords.py" suite on Windows 2000 domain function level
...
The "userPassword" password change functionality isn't available and so it
causes big parts of the testsuite to fail. On the other hand we've basic tests
in "acl.py" and indirectly also over SAMR and kpasswd so I propose to simply
skip it.
2010-11-11 10:03:38 +01:00
Andrew Tridgell
d1d585e208
s4-test: make sure the selftest prefix exists
...
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Nov 9 00:05:22 UTC 2010 on sn-devel-104
2010-11-09 00:05:22 +00:00
Jelmer Vernooij
c9756cac05
waf: Put private libraries in a separate directory when building.
...
Thanks to Tridge for pointing out what exactly I had to change. :-)
2010-11-05 02:06:06 +00:00
Jelmer Vernooij
228a9c10d0
selftest: Allow some tests to output empty subunit data.
2010-11-05 02:06:05 +00:00
Jelmer Vernooij
c4dab7d545
urgent_replication: forbid empty subunit output.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu Nov 4 12:13:47 UTC 2010 on sn-devel-104
2010-11-04 12:13:47 +00:00
Jelmer Vernooij
b6cef24463
selftest: Allow some tests to output empty subunit data.
2010-11-04 11:30:04 +00:00
Andrew Tridgell
f3ad867ab5
s4-test: fixed quoting in deletetest.py
2010-11-04 20:35:44 +11:00
Jelmer Vernooij
fdcbc087c0
selftest/tests.py: Fix typos.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Nov 3 19:55:55 UTC 2010 on sn-devel-104
2010-11-03 19:55:55 +00:00
Andrew Tridgell
b028f55880
s4-test: if using a system version of ldb, override the ldb modules path
...
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Nov 3 04:13:22 UTC 2010 on sn-devel-104
2010-11-03 04:13:22 +00:00
Andrew Bartlett
46e70a2100
s4-selftest Run RPC-PAC against all the DC environments.
...
This is important, as it will validate that the PAC handling is
correct with the different encryption types.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Nov 2 11:45:50 UTC 2010 on sn-devel-104
2010-11-02 11:45:50 +00:00
Jelmer Vernooij
3deece5591
s4: Remove the old perl/m4/make/mk-based build system.
...
The new waf-based build system now has all the same functionality, and
the old build system has been broken for quite some time.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
2010-10-31 02:01:44 +00:00
Matthieu Patou
917cc0db0c
unit tests: use skip file to exclude smb2.dir instead of hack
...
Thanks metze for pointing this.
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Thu Oct 28 09:39:11 UTC 2010 on sn-devel-104
2010-10-28 09:39:11 +00:00
Kai Blin
b73a05e4e1
s4 net: rename to samba-tool in order to not clash with s3 net
...
Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Thu Oct 28 07:25:16 UTC 2010 on sn-devel-104
2010-10-28 07:25:16 +00:00
Nadezhda Ivanova
5bc2b8f0a4
s4-ldb: Added the correct extended check for read access to nTSecurityDescriptor
...
It does not depend on READ_PROPERTY, but on SECURITY_PRIVILEGE and READ_CONTROL
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org>
Autobuild-Date: Wed Oct 27 13:18:50 UTC 2010 on sn-devel-104
2010-10-27 13:18:50 +00:00
Matthieu Patou
b1f6a2be27
unit tests: move backend testing to the end
...
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Wed Oct 27 11:12:02 UTC 2010 on sn-devel-104
2010-10-27 11:12:02 +00:00
Matthieu Patou
04d63e973e
unit tests: remove smb2.dir
...
Tridge says that it's a hard to fix pb and that it's not the priority
for 4.0.0
2010-10-27 14:29:45 +04:00
Matthieu Patou
902e7288a7
selftest: use full path for selftest.pl instead of relative paths
...
FindBin on solaris8 with perl 5.04 has problem to get the path of the
called script if the script is called with a relative path.
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Mon Oct 18 19:50:03 UTC 2010 on sn-devel-104
2010-10-18 19:50:03 +00:00
Jelmer Vernooij
7c36853313
selftest: Avoid check_call(), use call() instead. This should fix
...
Python2.4 compatibility.
2010-10-11 20:32:03 +00:00
Matthieu Patou
9d958ce582
build: make make tests SCREEN=1 work on freebsd
2010-10-10 16:03:35 +04:00
Matthias Dieter Wallnöfer
584ac76a4f
s4:ldap.py - split it up and move SAM related stuff to sam.py
...
ldap.py would still need some additional split-up but it's a start.
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Fri Oct 8 14:05:18 UTC 2010 on sn-devel-104
2010-10-08 14:05:17 +00:00
Abhidnya P Chirmule
fb75355263
File winattr test
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Oct 7 16:51:19 UTC 2010 on sn-devel-104
2010-10-07 16:51:19 +00:00
Abhidnya P Chirmule
9af40beda6
File BirthTime test
2010-10-07 16:10:16 +00:00
Kamen Mazdrashki
ee881c9d07
s4-test: Fix PYTHONPATH for samba4.schemaInfo.python(dc) test
...
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Wed Oct 6 02:54:56 UTC 2010 on sn-devel-104
2010-10-06 02:54:56 +00:00
Günther Deschner
9bcb88ff25
s4-selftest: move spoolss to skip list.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Oct 5 13:51:28 UTC 2010 on sn-devel-104
2010-10-05 13:51:28 +00:00
Kamen Mazdrashki
9c27099715
s4-test: Fix PYTHONPATH for python.drs_ tests
2010-10-05 10:51:14 +00:00
Kamen Mazdrashki
dd380e3459
s4-test: Use absolute path for 'samba4srcdir'
2010-10-05 10:51:14 +00:00
Matthieu Patou
19f835dd69
unittests: makes the unit tests for ldb.python back in order
2010-10-04 19:42:19 +00:00
Andrew Tridgell
dfb664a182
s4-selftest: support 'make testenv SCREEN=1'
...
this can be used to start a test envioronment in screen windows.
Use:
make testenv SCREEN=1 SELFTEST_TESTENV=dc
to launch just one environment (in this case, "dc")
2010-10-02 21:11:53 -07:00
Andrew Tridgell
29e1a847dd
s4-selftest: silence warnings about bind chown
2010-10-02 21:11:52 -07:00
Andrew Tridgell
3bb59255bb
s4-test: silence a tap2subunit error
2010-10-02 21:11:52 -07:00
Andrew Tridgell
b772871f4c
s4-selftest: added --screen option for test
...
you can now do:
make test TESTS="some test" SCREEN=1
while in GNU screen, and all the samba servers will launch in their
own new screen, named after the server name.
You can also do:
make test TESTS="some test" SCREEN=1 VALGRIND_SERVER=1
to run valgrind on each samba server, or
make test TESTS="some test" SCREEN=1 GDBTEST=1
to run gdb on each server
2010-10-02 21:11:52 -07:00
Jelmer Vernooij
fbee3586fd
selftest: Let selftest provide the tempdir, rather than creating it as sideeffect of tests.py.
2010-10-01 01:31:06 +00:00
Andrew Tridgell
dc65824065
selftest: fixed a selftest error on sn
...
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-09-30 17:42:49 -07:00
Jelmer Vernooij
b7c7c4bae0
s4-selftest: Remove unnecessary PYTHONPATH overrides.
2010-10-01 02:05:36 +02:00
Jelmer Vernooij
8309e3f605
s4-selftest: Normalize paths.
2010-10-01 02:05:36 +02:00
Jelmer Vernooij
1611499ec6
s4-selftest: Finish conversion of selftest.sh to Python.
2010-10-01 02:05:36 +02:00
Jelmer Vernooij
aca56372c7
s4-selftest: Convert tests.sh to Python.
2010-10-01 02:05:36 +02:00
Jelmer Vernooij
6eee95ac04
s4-selftest: Add some more comments to skip file.
2010-09-30 10:31:38 +02:00
Jelmer Vernooij
73e129b254
selftest: Eliminate some unnecessary spaces.
2010-09-30 10:31:29 +02:00
Andrew Tridgell
c12f1a1e91
s4-selftest: added a --fail-immediately option to s4 test
...
this can be used to force an immediate test failure on the first
failed test case. You can also use:
make test FAIL_IMMEDIATELY=1
2010-09-28 09:12:39 +02:00
Nadezhda Ivanova
93ba17285d
s4-tests: Added tests for search checks on attributes
...
The ACL reach tests are in the knowfail because aclread module is not
enabled by default
2010-09-26 15:36:09 -07:00
Nadezhda Ivanova
3e08965369
s4-tests: Removed search tests with anonymous credentials as they fail againts Windows
...
These tests will fail in make test as well if the acl_read module is enabled.
2010-09-26 15:36:09 -07:00
Andrew Bartlett
b00dc83992
s4-selftest Run slow tests less often
...
These tests don't need to be run twice - basic parsing errors that
will show up with the various options will be caught quite well
by other tests.
Andrew Bartlett
2010-09-24 09:25:44 +10:00
Jelmer Vernooij
7378b6d2a2
s4-selftest: Move credentials tests to standard python directory.
2010-09-22 22:29:09 -07:00
Jelmer Vernooij
cc5b673e18
s4-selftest: Move samba3sam test to standard python directory.
2010-09-22 22:29:09 -07:00
Jelmer Vernooij
5651f8a9a7
s4-selftest: Fix prefixes for ldb tests - they're samba4 specific.
2010-09-22 22:29:09 -07:00
Jelmer Vernooij
3d0e6db9dc
selftest: Fix idlist running.
2010-09-22 22:29:09 -07:00
Jelmer Vernooij
f9ed11c756
s4-selftest: For idlist tests, leave out environment name.
2010-09-22 22:29:08 -07:00
Jelmer Vernooij
0dde34ffc7
s4-selftest: Add environment name to test suite manually, so we can
...
leave it out if we want to.
2010-09-22 22:29:08 -07:00
Jelmer Vernooij
9bce783878
selftest: Fix use of --load-list.
2010-09-22 22:29:08 -07:00
Jelmer Vernooij
cd8d780420
s4-selftest: Cleanup formatting.
2010-09-22 22:29:08 -07:00
Jelmer Vernooij
a171816672
selftest: Add prefix on a higher level, so it can be more easily
...
excluded.
2010-09-22 22:29:08 -07:00
Jelmer Vernooij
5a75fb194a
ndrdump: Move blackbox test to standard python namespace.
2010-09-22 17:48:23 -07:00
Jelmer Vernooij
18f10eec0e
s4/selftest: Simplify running of python tests.
2010-09-22 17:48:23 -07:00
Jelmer Vernooij
31d5ac0540
selftest: Let tests add prefix to tests by themselve.
2010-09-22 17:48:23 -07:00
Jelmer Vernooij
e12e661f35
s4-selftest: Move more tests to scripting/python, simplifies running of tests.
2010-09-21 22:54:38 -07:00
Jelmer Vernooij
118c6548bb
selftest: Fix run for systems without testtools installed.
2010-09-21 22:54:37 -07:00
Jelmer Vernooij
7c1b00f4a8
selftest: Use idlist testing for python tests.
2010-09-21 22:54:37 -07:00
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
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
Jelmer Vernooij
12e34eafb8
selftest: Use absolute tests names in knownfail.
2010-03-31 02:20:08 +02:00
Jelmer Vernooij
08161e093d
selftest: Convert filter-subunit to Python so the subunit Python module
...
can be used later.
2010-03-31 02:20:07 +02:00
Jelmer Vernooij
ef3fb75261
selftest: Replace perl subunit formatter with python subunit formatter,
...
so we can leverage the work happening in python-subunit.
2010-03-30 01:08:20 +02:00
Jelmer Vernooij
b607f99688
Remove extension from format-subunit.
2010-03-28 21:46:58 +02:00
Andrew Tridgell
09a676a471
s4-selftest: use CONFIG_H environment variable to find config.h
2010-03-28 17:57:29 +11:00
Günther Deschner
254d85d537
s4-selftest: use correct test names.
...
Guenther
2010-03-24 17:37:07 +01:00
Andrew Bartlett
5592a9ba5a
s4:selftest Test --sign and --encrypt options to ldbsearch
2010-03-24 19:28:38 +11:00
Günther Deschner
a52b3dfb26
s4-selftest: skip RPC-DFS for s4 entirely.
...
Guenther
2010-03-20 02:56:20 +01:00
Stefan Metzmacher
d4b8fb15b8
s4:selftest: move samba4.net.api.become.dc from skip to knownfail
...
Someone should fix the remaining bug, as this test is expected to work.
metze
2010-03-11 13:34:31 +01:00
Jelmer Vernooij
24d52dc362
Fix the build, add filtered subunit runner.
2010-03-01 16:24:59 +01:00
Andrew Bartlett
809dd8c413
s4:selftest Add test for the RPC proxy
2010-02-19 16:32:49 +11:00
Andrew Tridgell
2dff1f45f7
s4-test: use local ldb for urgent_replication test
...
This test only currently works on a local ldb, as it needs system
access.
2010-02-15 21:57:08 +11:00
Fernando J V da Silva
f5de126b85
s4-drs: Test situations for Urgent Replication
...
Checks if the partition's uSNUrgent is updated or not, depending
on the class of the object which is created, modified or deleted.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-02-15 21:57:08 +11:00
Andrew Tridgell
5bb89bc47c
s4-ldb: fixed api.py selftest
...
subunitrun seemed to be calling a test from its own source, instead of
the samba test. Fix this by calling the test directly.
2010-02-06 16:43:55 +11:00
Eduardo Lima
882feb39a2
s4-drs: implementation of some delete test cases
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-01-28 18:45:03 +11:00
Matthieu Patou
711c7606a5
s4-tests: register new unit tests
...
make unit test emit a visible warning
2010-01-21 07:11:17 +13:00
Matthieu Patou
08c59c38a2
s4: Create unit tests for python "samba.xattr" module
2010-01-21 07:11:14 +13:00
Michael Adam
45465cb7da
s4:selftest: add the samr-passwords-lockout test to knownfail
...
This is not implemented completely yet.
Needs fixing in the future.
Michael
2010-01-20 17:32:58 +01:00
Jelmer Vernooij
18943bba9c
selftest: Use SUBUNIT_FORMATTER command, if set in the environment.
2010-01-20 11:05:04 +13:00
Kai Blin
791a2df656
s4 selftest: Fix and reenable WINBIND-STRUCT.NETBIOS_NAME test
2010-01-16 12:38:12 +01:00
Jelmer Vernooij
b6b46b4978
subunit: Import new version.
2010-01-16 19:53:49 +13:00
Kai Blin
5c016ad88e
s4 selftest: Ignore more winbind test known to fail
2010-01-15 02:09:05 +01:00
Günther Deschner
3b82254903
s4-selftest: RPC-SAMR-PASSWORDS-BADPWDCOUNT fails against s4.
...
Seems like account lockout is not implemented at all yet.
Guenther
2010-01-12 12:34:55 +01:00
Jelmer Vernooij
8c19cd2dea
netcmd: Add some basic tests.
2009-12-29 16:26:19 +01:00
Kamen Mazdrashki
c113be8526
s4-tort: Move Schema tests from ldap.py into separate module
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-21 23:44:05 +11:00
Stefan Metzmacher
dd650edff2
s4:selftest: skip SMB2-ACLS for now
...
metze
2009-12-08 13:50:16 +01:00
Stefan Metzmacher
33ecfb05a4
s4:selftest: run RAW-STREAMS again
...
metze
2009-12-08 13:50:16 +01:00
Stefan Metzmacher
ed5c3372de
s4:selftest: use ${selftest_prefix} instead of hardcoded st/
...
metze
2009-12-08 09:19:35 +01:00
Andrew Tridgell
52083a8547
s4-selftest: show the test summary at the end of 'make test' in the build farm
...
This should make it easier to see what tests are failing with what
parameters
2009-12-08 15:59:10 +11:00
Tim Prouty
1bf825b6f8
s4 torture: Cleanup RAW-ACLS a bit
...
Don't check SEC_DESC_DACL_AUTO_INHERITED right now
Disable RAW-ACLS-INHERITFLAGS for the short term
Update samba4's knownfail accordingly
2009-12-07 17:59:28 -08:00
Andrew Tridgell
978dc61b56
s4-selftest: don't consider spoolss failures to be an error in s4
2009-12-08 12:39:11 +11:00
Tim Prouty
105eb95a57
s4 quicktest: exclude raw-streams from quicktest until bug is fixed
2009-12-07 16:54:17 -08:00
Steven Danneman
47f5aac39d
s4/torture: add test for zero byte read contention with byte range locks
2009-12-07 16:10:25 -08:00
Tim Prouty
5c857768d1
s4 selftest/quicktest: Update known failures for the sfileinfo and oplock changes
...
Two new samba4 bugs have been filed for the two corresponding known
failures. For the short term raw.sfileinfo had to be removed from
quicktest. It is no longer an individual test, but a test-suite and
quicktest can only run top level tests.
2009-12-03 18:54:52 -08:00
Steven Danneman
76be0f6a11
s4/selftest: knownfail some locking tests until bugs are fixed
2009-12-02 17:55:34 -08:00
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 Tridgell
d5240822a5
s4-selftest: s4 passes all the SMB2-LOCK tests now
2009-11-27 19:42:11 +11:00
Andrew Tridgell
af087f98ab
s4-selftest: s4 passes this test now
2009-11-27 19:42:10 +11:00
Andrew Tridgell
f6ecb4efb0
s4-torture: fixed expected error codes for s4 in SMB2-LOCK
...
I think the error/success codes returned by windows for these tests
are quite bogus. The ones s4 gives are much more reasonable. The
locking ones returning NT_STATUS_SUCCESS could lead to data loss, as
an application thinks it has a file locked correctly when it fact it
doesn't, so it could do an unsafe modify.
2009-11-27 16:05:06 +11:00
Andrew Bartlett
6f0f82f7ed
s4:selftest Add tests for upgradeprovision
2009-11-27 16:05:05 +11:00
Stefan Metzmacher
49553d066b
librpc: rerun "make idl"
...
metze
2009-11-26 11:47:42 +01:00
Tim Prouty
ce9ac3a685
s4 torture: Split up the torture suite setup for RAW-SFILEINFO
...
A side effect of this change is that RAW-SFILEINFO now runs the whole
suite instead of just the first test. I changed the name of the first
test to RAW-SFILEINFO-BASE and changed all of the selftest scripts
that call it.
2009-11-25 08:45:14 -08:00
Stefan Metzmacher
fb685d3a8a
s4:selftest: mark samba4.smb2.lock.*.VALID-REQUEST as known failure
...
metze
2009-11-18 08:24:13 +01:00
Stefan Metzmacher
575967a5cf
s4:selftest: fix logic for --option=torture:progress=no
...
metze
2009-11-18 06:50:24 +01:00