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

162 Commits

Author SHA1 Message Date
Andrew Bartlett
2f35c246fc selftest: Add test to ensure that bug #8872 does not come back
The raw.composite test checks that we handle mutliple concurrent connections.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Apr 27 16:25:37 CEST 2012 on sn-devel-104
2012-04-27 16:25:37 +02:00
Andrew Bartlett
67a851a050 selftest: Remove silly space before unit test name
When we have no description, there is no need for a leading space here

Andrew Bartlett
2012-04-27 14:51:05 +02:00
Andrew Bartlett
d913a94eeb selftest: push --target selection into plansmbtorturetestsuite 2012-04-26 02:28:26 +02:00
Jelmer Vernooij
dd0b8792a0 s3/selftest: Fix reference to knownfail file. 2012-04-16 16:30:18 +02:00
Björn Baumbach
0e3be00af1 s3-selftest: Remove some unnecessary comma
Signed-off-by: Michael Adam <obnox@samba.org>
2012-03-22 00:21:56 +01:00
Björn Baumbach
56f2f76166 s3-selftest: Add samba3.blackbox.net.registry.check to test list
Signed-off-by: Michael Adam <obnox@samba.org>
2012-03-22 00:21:56 +01:00
Michael Adam
64627de35c s3:selftest: reactivate the writetimeupdatedelay speed-up
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-03-15 18:41:37 +01:00
Andrew Bartlett
8b10d6848f selftest: test wbinfo --authenticate and --krb5auth 2012-03-15 09:29:02 +11:00
Stefan Metzmacher
89511d28bf s3:selftest: add support for 'make test FAIL_IMMEDIATELY=1'
This is what autobuild uses in order to let the build abort on the first
failure.

metze
2012-03-14 21:20:26 +01:00
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