1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

253 Commits

Author SHA1 Message Date
Andrew Bartlett
16ecda3f11 selftest: fix running additional smbclient test for non-spnego session setup
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Sat Mar 10 20:46:05 CET 2012 on sn-devel-104
2012-03-10 20:46:05 +01:00
Andrew Bartlett
79753ec02c selftest: add more tests for different authentication codepaths 2012-03-08 10:14:05 +01:00
Gregor Beck
4f5412dda6 s3:selftest: ask smbtorture4 for smb2 tests
Signed-off-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Mar  7 01:34:05 CET 2012 on sn-devel-104
2012-03-07 01:34:05 +01:00
Andrew Bartlett
6dbf632bc3 selftest: Reduce declarations of smbclient_auth tests by moving into a loop 2012-03-05 08:15:05 +01:00
Andrew Bartlett
fc5762388a selftest: run smbtorture_s3 tests against the ntvfs file server
This checks not only the behaviour of the NTVFS file server, but also the
client library and authentication stack.

Andrew Bartlett
2012-03-05 08:15:05 +01:00
Andrew Bartlett
c23b2bdea1 selftest: remove unused config.h check
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Mar  5 01:10:01 CET 2012 on sn-devel-104
2012-03-05 01:10:01 +01:00
Andrew Bartlett
cfa33c4567 s3-selftest: Add tests for ntlm_auth gss-spnego client and server
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Mar  2 07:05:44 CET 2012 on sn-devel-104
2012-03-02 07:05:44 +01:00
Volker Lendecke
c5c67cacd9 s3: Add a test that makes a chained open break an oplock
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Wed Feb 29 01:13:03 CET 2012 on sn-devel-104
2012-02-29 01:13:01 +01:00
Andrew Bartlett
b6fcac65fb s3-selftest: avoid running LOCAL- tests twice
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Feb 27 09:07:59 CET 2012 on sn-devel-104
2012-02-27 09:07:59 +01:00
Andrew Bartlett
b947d84c88 s3-selftest: run ntlm_auth against winbindd in make test 2012-02-24 12:12:48 +11:00
Andrew Bartlett
8c3bbc0979 selftest: test member server tests in security=ads
By testing more things against s3member (which is security=ads against samba4)
we can improve our test coverage.

Andrew Bartlett
2012-02-20 13:50:52 +11:00
Andrew Bartlett
11f88524e3 s3-selftest: Add test for ntlm_auth --diagnostics 2012-02-20 10:50:48 +11:00
Andrew Bartlett
95d3096f98 s3-selftest: Remove .posix_s3 from s3 test names
As far as I can tell, this simply referred to the posix_s3.sh script
that originally ran these tests.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Feb 16 06:57:09 CET 2012 on sn-devel-104
2012-02-16 06:57:08 +01:00
Andrew Bartlett
7e0e713406 selftest: Remove 'if have_ads_support:' from tests.py
The selftest system now skips launching these if the environment is not available.

Andrew Bartlett
2012-02-16 15:21:11 +11:00
Andrew Bartlett
cf155fa366 s3-selftest: Do not assume $USERNAME is the same as $DC_USERNAME
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Feb 13 06:13:38 CET 2012 on sn-devel-104
2012-02-13 06:13:38 +01:00
Christian Ambach
be3e479feb selftest: add smb2.rename to testsuite
Autobuild-User: Christian Ambach <ambi@samba.org>
Autobuild-Date: Fri Feb 10 15:02:51 CET 2012 on sn-devel-104
2012-02-10 15:02:51 +01:00
Volker Lendecke
a0e44c30e2 lib/util: Add hex_encode_buf
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Mon Feb  6 09:15:33 CET 2012 on sn-devel-104
2012-02-06 09:15:32 +01:00
Andrew Bartlett
965b83158d s3-selftest: Add test for posix large reads and writes
This includes encrypted reads and writes, both NTLM and kerberos.

Andrew Bartlett

Signed-off-by: Jeremy Allison <jra@samba.org>

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Jan 28 00:13:57 CET 2012 on sn-devel-104
2012-01-28 00:13:56 +01:00
Stefan Metzmacher
189ee92226 s3:selftest: rpcclient doesn't support smb2
metze
2012-01-16 15:34:10 +01:00
Andrew Bartlett
339d5ea4e6 s3-selftest The krb5 encrypted CIFS test was wrong
Sadly this fails in the test environement for now.  It needs a /etc/krb5.keytab
which we do not provide.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Jan 13 04:57:22 CET 2012 on sn-devel-104
2012-01-13 04:57:22 +01:00
Andrew Bartlett
c243bd2578 s3-sefltest Make krb5 tests contain the word krb5 2012-01-09 10:56:28 +11:00
Andrew Bartlett
1a41f72861 s3-selftst Add encrypted CIFS testing with kerberos 2012-01-09 10:56:28 +11:00
Andrew Bartlett
c017c3ec8e s3-selftest: Add test for smbclient kerberos support 2012-01-09 10:56:27 +11:00
Andrew Bartlett
1a588dfd19 s3-selftest: remove smb4torture_possible and add have_ads_support
The smb4torture_possible check has already been hidden in
plansmbtorturetestsuite to reduce extra complexity and indentation.

The have_ads_support check will allow ADS tests to be run when we
do not have the ability to run smbtorture4

Andrew Bartlett
2012-01-09 10:56:25 +11:00
Andrew Bartlett
cb00b58349 s3-selftest Hide smb4torture_possible inside plansmbtorturetestsuite() 2012-01-09 09:50:11 +11:00
Volker Lendecke
c790b3c8a7 s3: Run the CLEANUP2 test 2012-01-05 20:29:59 +01:00
Andrew Bartlett
7b4f2fad54 s3-selftest: Add test for rpcclient, including kerberos authentication
Some knownfail entries are added for things the currently fail.

Andrew Bartlett

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-05 17:17:28 +01:00
Volker Lendecke
7fc566dbb9 s3: Run the CLEANUP1 test
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Jan  5 14:42:43 CET 2012 on sn-devel-104
2012-01-05 14:42:43 +01:00
Rusty Russell
08019a0973 tdb2: don't use TDB2 versions of test tdb files.
Now tdb2 handles tdb1 files, we don't need most of commit
5eecc85423 which added TDB2 versions of
all the testing tdbs.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

Autobuild-User: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-Date: Mon Dec 12 06:33:44 CET 2011 on sn-devel-104
2011-12-12 06:33:44 +01:00
Jelmer Vernooij
e62654578b selftest: Add --flapping argument to filter-subunit. 2011-12-05 23:11:04 +01:00
Jelmer Vernooij
5643d37a00 selftest: Split out flapping tests into a separate file. 2011-12-05 23:11:04 +01:00
Stefan Metzmacher
9f5a7f5063 s3:selftest: run SMB2-NEGPROT
metze
2011-11-24 19:02:32 +01:00
Björn Baumbach
2e1f7e137d s3-selftest: add new registry upgrade test to test list
Signed-off-by: Michael Adam <obnox@samba.org>
2011-11-04 00:28:08 +01:00
Andrew Bartlett
1bc787d271 s3-selftest Add all the LOCAL-* smbtorture tests to make test
The extra knownfail and skip entries are for tests the currently do
not pass or hang.  We need to work out why this happens, and fix the
test or the test invocation.

Andrew Bartlett
2011-10-28 13:10:28 +02:00
Andrew Bartlett
9fe8c3db91 s3-selftest: Add LOCAL-sprintf_append 2011-10-28 13:10:28 +02:00
Andrew Bartlett
659ec79245 selftest: Have only one set of selftest knownfail and skip files
Listing tests that are not ever proposed (eg samba4.* in the samba3 selftest)
is not an error, so just combine the lists.

This is being done because some folks trying to learn how our 'make
test' works are having trouble following the distributed nature of the
selftest system.

Andrew Bartlett
2011-10-28 13:10:27 +02:00
Andreas Schneider
4186ef9560 s4-torture: Add a samr privilege check.
This is the first part which checks if a deleted user is propagated
correctly to all daemons and caches with user information are emtpy.
2011-10-27 17:09:50 +02:00
Andrew Bartlett
055f017b36 build: Reduce build systems to just top level waf and autoconf
The s3-waf build system is a key component of the top level build, but
with this commit is is no longer available directly.  This reduces the
number of build system combinations in master as we prepare for the
Samba 4.0 release.

Andrew Bartlett
2011-10-07 17:42:03 +11:00
Richard Sharpe
c875ab8747 Move FSCTL handling into the VFS. Initial code changes. Passes smbtorture NTTRANS-FSCTL. Test added to selftests. 2011-10-01 07:02:20 -07:00
Andrew Bartlett
28ad50e5fd s3-selftest: Set path to bin/net and bin/wbinfo in command line to test scripts
This makes it easier to reproduce these tests outside the test
environment, as we rely less on environment variables.

Andrew Bartlett
2011-09-12 20:42:22 +10:00
Vicentiu Ciorbaru
33de7ebcfc s3-test: Added net conf tests to tests.py
The tests are added as blackbox tests and they can be called with
the wildcard source3.blackbox.net.*.conf with either 'local' or 'rpc'
instead of '*' .

Signed-off-by: Michael Adam <obnox@samba.org>
2011-08-22 14:02:20 +02:00
Vicentiu Ciorbaru
94db542f60 s3-test: added samba3.blackbox.net.rpc.registry.roundtrip testsuite
The testsuite makes use of the rpc mode from the registry roundtrip
script to test net rpc conf / net rpc registry

Signed-off-by: Michael Adam <obnox@samba.org>
2011-08-22 13:59:28 +02:00
Stefan Metzmacher
b4a730d353 s3:selftest: run smbtorture3 CHAIN1/CHAIN2 tests
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Aug 12 09:37:04 CEST 2011 on sn-devel-104
2011-08-12 09:37:04 +02:00
Michael Adam
1f77710b01 s3:selftest: run the net rpc registry test under "s3dc" instead "s3dc:local".
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Mon Aug  8 19:18:41 CEST 2011 on sn-devel-104
2011-08-08 19:18:41 +02:00
Andreas Schneider
e0931a53c8 s3-torture: Run epmapper as daemon and the tests over ncalrpc. 2011-08-01 08:50:35 +02:00
Günther Deschner
df13422421 s3-selftest: finally enable RPC-LSA against s3.
Guenther
2011-07-31 22:37:28 +02:00
Günther Deschner
d45b33cd28 s3-selftest: enable RPC-LSA-SECRETS against s3.
Guenther
2011-07-31 22:37:28 +02:00
Andrew Bartlett
8f13c84dce s3-selftest Add tests for 'map to guest = bad user'
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-29 04:24:07 +02:00
Stefan Metzmacher
960310b68d s3:selftest: run SMB2-BASIC
metze
2011-07-08 01:22:22 +02:00
Andrew Bartlett
79b1a1092d selftest: Run tests for libsmbclient and libnetapi
This adds the known failure for the one test (netbios browsing) that
fails.

Andrew Bartlett
2011-06-21 11:29:39 +10:00
Rusty Russell
5eecc85423 tdb2: create tdb2 versions of various testing TDBs.
Soon, TDB2 will handle tdb1 files, but until then, we substitute.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-20 11:18:36 +02:00
Andrew Bartlett
5a37d3217a s3-selftest Add test for smbclient --authentication-file
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Jun  9 13:49:59 CEST 2011 on sn-devel-104
2011-06-09 13:49:59 +02:00
Stefan Metzmacher
0931147cbc s3:selftest: add a few more raw.* tests
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Jun  8 18:57:01 CEST 2011 on sn-devel-104
2011-06-08 18:57:01 +02:00
Volker Lendecke
040d917c10 s3: Run BAD-NBT-SESSION in make test 2011-05-29 21:10:26 +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
Volker Lendecke
ce9d63d161 s3: Remove the smbtorture3 OPLOCK3 test
This is the last user of cli_receive_smb. Oplocks are nowadays tested
in smbtorture4, this mainly has historic value
2011-05-22 21:07:40 +02:00
Günther Deschner
320789b890 s3-selftest: no point in running base.chkpath and base.delaywrite twice.
Thanks to Bjoern Baumbach for pointing this out!

Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
2011-05-16 12:54:33 +02:00
Andrew Bartlett
34e3501a32 selftest: Fix combination of Samba3 and Samba4 test lists
The previous code was too subtle, and tried to filter via two xfail
scripts.  The --fail-immediately for the source3 knownfail would then
fail samba4 know failures.

Andrew Bartlett

Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2011-04-28 14:31:25 +10:00
Volker Lendecke
422b2fa0d0 s3: Run pthreadpooltest in make test
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Apr 25 10:39:12 CEST 2011 on sn-devel-104
2011-04-25 10:39:12 +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
36d4bbfeef s3-selftest Rename s3 DC environment to s3dc
This should avoid a clash with the s4 DC environment in a future
combined 'make test'.

Andrew Bartlett
2011-04-19 14:26:58 +10:00
Andrew Bartlett
1870d25495 selftest Add binary mappings for samba3 selftest
This will help us have a top level 'make test', working around the
fact that the --eanble-s3build has different names for some of these
binaries, without fixing the names forever (we can just change the
mapping later).

Andrew Bartlett
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
Volker Lendecke
845d4d43c7 s3: Add a test for sid2xids
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:25 -07:00
Andrew Bartlett
1d4fb073ec s3-selftest Add workaround for RAP test failure
The rap.sam test reads 0xFFFFFFFF as a string in the level 2
r->HomeDir attribute, which once we start validating ASCII strings
fails.  This restores a unchecked dos charset for this test only,
until it is determined if the client or server RAP code is at fault.

Andrew Bartlett

Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13 14:47:08 +10:00
Andrew Bartlett
e78d4652fa Revert "s3-test: disable ktest for now"
This reverts commit 77820d59fe.

I beleive this is now reliable, after the changes to wait for an
actual connection at startup and to use the fake DNS file.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Apr  7 07:20:03 CEST 2011 on sn-devel-104
2011-04-07 07:20:03 +02:00
Andrew Tridgell
77820d59fe s3-test: disable ktest for now
the ktest tests are currently flakey. Once andrew has found the
problem they can be re-enabled

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Apr  7 03:36:36 CEST 2011 on sn-devel-104
2011-04-07 03:36:36 +02:00
Andrew Bartlett
d84a8d5343 s3-selftest Add tests to show kerberos works across a password change
It is important that a machine account password change does not
invalidate existing tickets.

This is only for the default kerberos method with a password in
secrets.tdb.  The keytab based methods are still not tested.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Apr  6 05:24:48 CEST 2011 on sn-devel-104
2011-04-06 05:24:48 +02:00
Andrew Bartlett
6351dee4d8 s3-selftest Add testing of kerberos login
This uses a pre-calculated credentials cache, that should be valid
until 2036.

Andrew Bartlett
2011-04-04 19:48:57 +10:00
Volker Lendecke
32296a2c36 s3: Add a quick test for bug 8042
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Apr  3 16:13:21 CEST 2011 on sn-devel-104
2011-04-03 16:13:21 +02:00
Andrew Tridgell
e395b5bd3c s3-torture: a very simple test for convert_string_error()
this is a very simple test based on the example volker gave in
1e50f9a5. A more sophisticated test will also be worthwhile, but this
at least gives us a basic test while changes are being made
2011-03-31 12:51:24 +02:00
Andrew Bartlett
29fabfd3ea s3-selftest Allow LM passwords and turn of NTLMv2 for security=share test 2011-03-29 00:00:23 +02:00
Andrew Bartlett
c8bc7089f5 s3-selftest Add tests for security=server
Andrew Bartlett
2011-03-29 00:00:23 +02:00
Günther Deschner
4e0521300f s3-waf: enable nss_winbind in make test for nss_wrapper.
Guenther
2011-03-18 13:22:07 +01: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
9ef1a8cf4c s4-smbtorture: add test for rap_NetUserDelete().
Guenther
2011-03-18 01:24:07 +01:00
Günther Deschner
249340c9c8 s4-smbtorture: add test for rap_NetUserAdd().
Guenther
2011-03-18 01:24:07 +01:00
Jeremy Allison
a6d07a8e69 Re-enable base.tcondev test for S3, now we pass it correctly.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Mar 15 00:59:37 CET 2011 on sn-devel-104
2011-03-15 00:59:37 +01:00
Günther Deschner
8953c7dc26 s3-selftest: add another flaky s3-torture test to knownfail, this time OPLOCK4.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Mar 11 00:42:27 CET 2011 on sn-devel-104
2011-03-11 00:42:27 +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
Günther Deschner
6076f4b472 s3-selftest: run a couple of dgram NBT tests against s3.
Guenther
2011-03-10 23:25:03 +01:00
Günther Deschner
12f2170a2b s3-selftest: properly move connect to seal options.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Mar  9 13:13:06 CET 2011 on sn-devel-104
2011-03-09 13:13:06 +01:00
Günther Deschner
286530b3fe s3-selftest: no point in testing smb2 via ncacn_ip_tcp.
Guenther
2011-03-09 12:27:26 +01:00
Günther Deschner
05b447b26f s3-selftest: remove *ncacn_ip_tcp* from knownfail list.
Guenther
2011-03-09 12:27:26 +01:00
Günther Deschner
a200bac093 s3-selftest: only run smbtorture4 tests when smbtorture4 is available.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Mar  8 14:51:18 CET 2011 on sn-devel-104
2011-03-08 14:51:18 +01:00
Günther Deschner
1605563b14 s3-selftest: add pattern test of dcerpc binding options (using rpc.lsa.lookupsids).
Guenther

Signed-off-by: Günther Deschner <gd@samba.org>

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Mar  8 12:29:21 CET 2011 on sn-devel-104
2011-03-08 12:29:21 +01:00
Günther Deschner
b7c692bae7 s3-selftest: no need to run rpc.samba3.netlogon twice.
Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08 11:41:31 +01:00
Michael Adam
f1a5109565 s3:test: the registry roundtrip test passes now
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Sat Mar  5 02:19:33 CET 2011 on sn-devel-104
2011-03-05 02:19:33 +01:00
Andrew Bartlett
5590ac257f selftest the raw.mux test is flaky:
TESTING MULTIPLEXED LOCK/LOCK/UNLOCK
establishing a lock
the second lock will conflict with the first
this will too, but we'll unlock while waiting
unlock the first range
recv the async reply
async lock took 265.40 msec
failed to trigger early lock retry
UNEXPECTED(error): samba3.posix_s3.raw.mux.mux

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Feb 22 07:09:07 CET 2011 on sn-devel-104
2011-02-22 07:09:07 +01:00
Andrew Bartlett
6c1ce36ec9 selftest pass in srcdir into Samba3 target module 2011-02-22 16:20:10 +11:00
Andrew Bartlett
a82d9e4e72 s3-selftest convert tests.sh to python
This should allow us a much better chance of invoking the subunit
wrappers in the right way, at the right level.

Andrew Bartlett
2011-02-22 16:20:10 +11:00
Andrew Bartlett
56c28d1cfb s3-tests use $PREFIX to ensure tests don't work outside the test area
Andrew Bartlett
2011-02-22 14:50:14 +11:00
Andrew Bartlett
1650da8a99 Add tests for various s3 auth modes 2011-02-22 14:50:14 +11:00
Günther Deschner
78c4b2170e s3-selftest: make sure we really use --format=subunit when calling smbtorture4.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Feb 17 02:01:56 CET 2011 on sn-devel-104
2011-02-17 02:01:56 +01:00
Michael Adam
c819e3e862 s3:test: run the net.rpc.registry test under "dc" not "dc:local"
There is no need to run it on the rpc server, but it should
be run from a remote host.

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Feb 16 16:05:58 CET 2011 on sn-devel-104
2011-02-16 16:05:58 +01:00
Michael Adam
8e45fb4a83 s3:test: rename samba3.blackbox.testparm_s3 -> samba3.blackbox.testparm 2011-02-16 15:21:20 +01:00
Michael Adam
838de3cdd3 s3:test: rename samba3.blackbox.net_s3_registry_roundtrip -> samba3.blackbox.net.local.registry.roundtrip 2011-02-16 15:21:20 +01:00
Michael Adam
86ed1e77c7 s3:test: rename samba3.blackbox.net_s3_registry_rpc -> samba3.blackbox.net.rpc.registry 2011-02-16 15:21:20 +01:00
Michael Adam
395d8f41d6 s3:test: rename samba3.blackbox.net_s3_registry -> samba3.blackbox.net.local.registry 2011-02-16 15:21:20 +01:00
Michael Adam
2c77ece81b s3:test: rename samba3.blackbox.net_s3_misc --> samba3.blackbox.net.misc 2011-02-16 15:21:20 +01:00
Michael Adam
b03a171c13 s3:test: mark the net_registry_roundtrip test as knownfail
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Feb 16 13:45:09 CET 2011 on sn-devel-104
2011-02-16 13:45:09 +01:00
Michael Adam
fca423832f s3:test: add the registry roundtrip test as samba3.blackbox.net_s3_registry_roundtrip 2011-02-16 12:56:42 +01:00
Michael Adam
2e18c34d62 s3:test: add the "blackbox.failure" test to the knownfail tests
This is designed to fail. Its purpose is to test our test infrastructure.
2011-02-16 12:56:41 +01:00
Michael Adam
18f4940de2 s3:test: add the failure blackbox test as samba3.blackbox.failure 2011-02-16 12:56:41 +01:00
Michael Adam
ca2b960c41 s3:test: add the success blackbox test as samba3.blackbox.success 2011-02-16 12:56:40 +01:00
Günther Deschner
0bfdb3e249 s3-selftest: move all skipped test to skiplist.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 15 12:52:22 CET 2011 on sn-devel-104
2011-02-15 12:52:22 +01:00
Günther Deschner
c575d30a32 s3-selftest: when skipping tests, use the selftest/skip file.
Guenther
2011-02-15 12:09:22 +01:00
Volker Lendecke
822a511324 s3: Skip the CHAIN1 tests
They are broken with signing. I'll fix that.

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Feb 11 17:42:09 CET 2011 on sn-devel-104
2011-02-11 17:42:09 +01:00
Günther Deschner
16af2539dc s3-selftest: revamp selftest wscript with s4 one.
Guenther
2011-02-11 16:06:06 +01:00
Günther Deschner
961f6295a9 s3-selftest: run the three net tests individually.
Guenther
2011-02-10 23:39:14 +01:00
Günther Deschner
541bf8068d s3-selftest: mark the driver timestamp test as knownfail for now.
Guenther
2011-02-08 17:23:52 +01:00
Günther Deschner
a44f76e2c4 s3-selftest: re-sync with s4-selftest wscript.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Jan 10 13:41:38 CET 2011 on sn-devel-104
2011-01-10 13:41:38 +01:00
Stefan Metzmacher
e1de884eaa s3:selftest: mark samba3.posix_s3.smb2.lock (dc).rw-exclusive as known to fail
This sometimes fails like this:

[218/271 in 22m22s] samba3.posix_s3.smb2.lock (dc)
UNEXPECTED(failure): samba3.posix_s3.smb2.lock (dc).rw-exclusive
REASON: _StringException: _StringException: ../torture/smb2/lock.c:406: status was NT_STATUS_END_OF_FILE, expected NT_STATUS_OK: (../torture/smb2/lock.c:406)

command: LD_LIBRARY_PATH=/memdisk/tridge/flakey/b18675/source3/source3/bin/shared:/memdisk/tridge/flakey/b18675/source3/source3/bin: bin/smbtorture4 --configfile=$SMB_CONF_PATH --maximum-runtime=1200 --target=samba3 --basedir=/memdisk/tridge/flakey/b18675/source3/source3/st --option="torture:winbindd_netbios_name=$SERVER" --option="torture:winbindd_netbios_domain=$DOMAIN" --option=torture:localdir=/memdisk/tridge/flakey/b18675/source3/source3/st/dc/share --option=torture:sharedelay=100000 //$SERVER_IP/tmp -U$USERNAME%$PASSWORD smb2.lock 2>&1 | ../selftest/filter-subunit --prefix "samba3.posix_s3.smb2.lock (dc)."
expanded command: LD_LIBRARY_PATH=/memdisk/tridge/flakey/b18675/source3/source3/bin/shared:/memdisk/tridge/flakey/b18675/source3/source3/bin: bin/smbtorture4 --configfile=/memdisk/tridge/flakey/b18675/source3/source3/st/client/client.conf --maximum-runtime=1200 --target=samba3 --basedir=/memdisk/tridge/flakey/b18675/source3/source3/st --option="torture:winbindd_netbios_name=LOCALDC2" --option="torture:winbindd_netbios_domain=SAMBA-TEST" --option=torture:localdir=/memdisk/tridge/flakey/b18675/source3/source3/st/dc/share --option=torture:sharedelay=100000 //127.0.0.2/tmp -Utridge%localdc2pass smb2.lock 2>&1 | ../selftest/filter-subunit --prefix "samba3.posix_s3.smb2.lock (dc)."
ERROR: Testsuite[samba3.posix_s3.smb2.lock (dc)]
REASON: Exit code was 1

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Dec 27 12:08:51 CET 2010 on sn-devel-104
2010-12-27 12:08:51 +01:00
Stefan Metzmacher
4ce3b53f12 s3:selftest: fix knownfail for samba3.posix_s3.rpc.spoolss.*printserver.enum_printers_old
The name is in lowercase since commit 35fbc7bbda
(s4-smbtorture: Make test names lowercase and dot-separated.)

This should avoid intermittent failures in make test.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Dec 13 13:52:18 CET 2010 on sn-devel-104
2010-12-13 13:52:18 +01:00
Günther Deschner
a43a1d9226 s3-selftest: support differing VFSLIBDIR in autoconf and waf build.
With this change make test in the s3 waf build (w/o s4 smbtorture yet) works!

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Dec 13 13:06:05 CET 2010 on sn-devel-104
2010-12-13 13:06:05 +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
Björn Jacke
72a322ed9c s3/selftest: add some FIXMEs
this needs some rework. Sourced shell code cannot take arguments, at least no
portable shell. This generates errors on the buildfarm sind quite a while.
2010-12-02 10:36:06 +01:00
Andrew Tridgell
8a56f8ddb1 s3-spoolss: added another intermittent failure to knownfail
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Oct  6 11:55:00 UTC 2010 on sn-devel-104
2010-10-06 11:55:00 +00:00
Günther Deschner
cef5a36cd1 selftest: make it more obvious we only expect the printjob tests to fail.
Guenther
2010-10-05 22:55:30 +02:00
Jelmer Vernooij
21475df35d s3-selftest: fix prefix in subunit output. 2010-10-01 18:49:40 +02:00
Jelmer Vernooij
f70a98605e s3: Add subunit-test target. 2010-10-01 18:49:40 +02:00
Andrew Tridgell
62d87f8f88 s3-selftest: added samba3.posix_s3.rpc.spoolss.printer to knownfail
this fails intermittently on sn-devel. Guenther suggested adding it to
knownfail

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Fri Oct  1 04:37:36 UTC 2010 on sn-devel-104
2010-10-01 04:37:36 +00:00
Günther Deschner
9dcd5e6c8f s3-waf: add basic make test infrastructure, not able to test yet.
Guenther
2010-09-29 08:54:00 +02:00
Andrew Tridgell
c0a1cbda5d s3-selftest: added samba3.posix_s3.rap.printing as a knownfail
this fails intermittently on sn-devel, Günther suggests adding this to
knownfail for now
2010-09-26 06:29:06 +00:00
Jelmer Vernooij
5b10c82a58 s3-selftest: Fix test prefixes in subunit output. 2010-09-22 17:48:23 -07:00
Jelmer Vernooij
bad0041390 s3-selftest: Move Samba3-specific script to source3/selftest. 2010-09-16 00:15:29 +00:00
Günther Deschner
d4d34bddd7 s3-selftest: add print_test_extended (as called from RPC-PRINTER) to knownfail list.
Guenther
2010-09-10 23:07:49 +02:00
Andrew Bartlett
5a2f6c9700 s3:selftest This test does not fail anymore (Samba4's smbtorture has been fixed) 2010-08-18 16:21:32 +10:00
Günther Deschner
f03ac22770 s3-selftest: add samba3.posix_s3.rpc.spoolss.notify to knownfail list.
Guenther
2010-08-16 12:23:20 +02:00
Günther Deschner
472d2a356f s3-selftest: fix testparm tests as non-root.
Thanks to Andreas for pointing this out.

Guenther
2010-08-13 18:30:37 +02:00
Günther Deschner
b0343b2c0b s3-selftest: add testparm tests to selftest.
Guenther
2010-08-13 11:44:40 +02:00
Günther Deschner
160d882f34 s3-selftest: fix locktest9 in make selftest.
Guenther
2010-06-17 15:08:27 +02:00
Günther Deschner
aeacb023b9 s3-selftest: disable domain creds smbclient_s3 tests for now.
Not sure they were ever working before.

With this patch, make selftest is down to 4 failures from 259 tests.

(two times LOCK9 from s3 smbtorture, one spoolss notify test and
samba3.posix_s3.unix.info2).

Guenther
2010-06-08 15:47:04 +02:00
Günther Deschner
3854f0708e s3-selftest: Fix blackbox smbclient s3 tests during make selftest.
Guenther
2010-06-02 15:37:50 +02:00
Stefan Metzmacher
6346ec0c1c s3:selftest: handle spaces in test names
metze
2010-02-24 11:56:10 +01:00
Stefan Metzmacher
654f1147e1 s3:selftest: make wbinfo_s3 work on the "member" server too.
metze
2010-02-24 11:56:10 +01:00
Stefan Metzmacher
ddfd5b69a0 s3:selftest: $WORKGROUP doesn't exist, we should use $DOMAIN
metze
2010-02-23 16:19:41 +01:00
Kai Blin
4ff7f6ed36 s3 test: Make the netbios name test pass again 2010-02-11 23:56:36 +01:00
Stefan Metzmacher
e0472c59c8 s3:selftest: make selftest requires bash for now
So force bash until we removed the dependency to bash.

metze
2010-02-09 12:58:29 +01:00
Günther Deschner
661dada503 s3-selftest: use testenv dc so that smbtorture4 actually uses the client configuration.
Found while trying to get RPC-SPOOLSS-NOTIFY working against s3.

Guenther
2010-01-18 11:04:08 +01:00
Stefan Metzmacher
97a086d5c4 selftest/Samba3: Test smb signing against the member server
metze
2009-03-23 12:21:14 +01:00
Stefan Metzmacher
98e2fe5e6d s3:selftest: fix blackbox.net_s3 tests
metze
2009-02-03 17:43:23 +01:00
Stefan Metzmacher
df4e38fcc3 s3:selftest: run test_posix_s3.sh tests
metze
2009-02-03 00:10:20 +01:00
Stefan Metzmacher
45940ef23a s3:selftest: pass correct arguments to $SCRIPTDIR/test_smbtorture_s3.sh
metze
2009-02-02 15:16:12 +01:00
Stefan Metzmacher
c96534cd6e s3:selftest: run the same tests as 'make test'
Only the tests with samba4's smbtorture are missing.

metze
2009-01-30 19:48:00 +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
88278cf23f s3:selftest: import more tests from 'make test'
metze
2009-01-29 10:54:48 +01:00
Stefan Metzmacher
439172dc06 selftest: add "member" environment for Samba3
metze
2009-01-29 10:39:06 +01:00
Stefan Metzmacher
77bb2d6d0b s3:seltest: make test_smbclient_s3.sh more strict
metze
2009-01-29 10:36:12 +01:00
Jelmer Vernooij
8ac2da0d09 Allow running individual tests in the testsuite, normalize test names, fix some tests. 2008-10-21 18:26:46 +02:00