summaryrefslogtreecommitdiff
path: root/source3/selftest
AgeCommit message (Collapse)AuthorFilesLines
2012-01-28s3-selftest: Add test for posix large reads and writesAndrew Bartlett1-5/+20
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-16s3:selftest: rpcclient doesn't support smb2Stefan Metzmacher1-29/+27
metze
2012-01-13s3-selftest The krb5 encrypted CIFS test was wrongAndrew Bartlett1-1/+1
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-09s3-sefltest Make krb5 tests contain the word krb5Andrew Bartlett1-3/+3
2012-01-09s3-selftst Add encrypted CIFS testing with kerberosAndrew Bartlett1-9/+11
2012-01-09s3-selftest: Add test for smbclient kerberos supportAndrew Bartlett1-0/+10
2012-01-09s3-selftest: remove smb4torture_possible and add have_ads_supportAndrew Bartlett1-41/+58
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-09s3-selftest Hide smb4torture_possible inside plansmbtorturetestsuite()Andrew Bartlett1-5/+7
2012-01-05s3: Run the CLEANUP2 testVolker Lendecke1-0/+1
2012-01-05s3-selftest: Add test for rpcclient, including kerberos authenticationAndrew Bartlett1-1/+10
Some knownfail entries are added for things the currently fail. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-05s3: Run the CLEANUP1 testVolker Lendecke1-0/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Jan 5 14:42:43 CET 2012 on sn-devel-104
2011-12-12tdb2: don't use TDB2 versions of test tdb files.Rusty Russell1-0/+0
Now tdb2 handles tdb1 files, we don't need most of commit 5eecc854236f0b943aaa89e0c3a46f9fbd208ca9 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-05selftest: Add --flapping argument to filter-subunit.Jelmer Vernooij1-1/+1
2011-12-05selftest: Split out flapping tests into a separate file.Jelmer Vernooij1-1/+1
2011-11-24s3:selftest: run SMB2-NEGPROTStefan Metzmacher1-1/+1
metze
2011-11-04s3-selftest: add new registry upgrade test to test listBjörn Baumbach1-0/+2
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-28s3-selftest Add all the LOCAL-* smbtorture tests to make testAndrew Bartlett1-2/+21
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-28s3-selftest: Add LOCAL-sprintf_appendAndrew Bartlett1-1/+1
2011-10-28selftest: Have only one set of selftest knownfail and skip filesAndrew Bartlett5-43/+3
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-27s4-torture: Add a samr privilege check.Andreas Schneider1-0/+1
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-07build: Reduce build systems to just top level waf and autoconfAndrew Bartlett1-203/+0
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-01Move FSCTL handling into the VFS. Initial code changes. Passes smbtorture ↵Richard Sharpe1-1/+1
NTTRANS-FSCTL. Test added to selftests.
2011-09-12s3-selftest: Set path to bin/net and bin/wbinfo in command line to test scriptsAndrew Bartlett1-12/+12
This makes it easier to reproduce these tests outside the test environment, as we rely less on environment variables. Andrew Bartlett
2011-08-22s3-test: Added net conf tests to tests.pyVicentiu Ciorbaru1-0/+6
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-22s3-test: added samba3.blackbox.net.rpc.registry.roundtrip testsuiteVicentiu Ciorbaru1-1/+4
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-12s3:selftest: run smbtorture3 CHAIN1/CHAIN2 testsStefan Metzmacher2-2/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Aug 12 09:37:04 CEST 2011 on sn-devel-104
2011-08-08s3:selftest: run the net rpc registry test under "s3dc" instead "s3dc:local".Michael Adam1-1/+1
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Aug 8 19:18:41 CEST 2011 on sn-devel-104
2011-08-01s3-torture: Run epmapper as daemon and the tests over ncalrpc.Andreas Schneider1-1/+8
2011-07-31s3-selftest: finally enable RPC-LSA against s3.Günther Deschner1-1/+1
Guenther
2011-07-31s3-selftest: enable RPC-LSA-SECRETS against s3.Günther Deschner1-1/+1
Guenther
2011-07-29s3-selftest Add tests for 'map to guest = bad user'Andrew Bartlett1-1/+4
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-08s3:selftest: run SMB2-BASICStefan Metzmacher1-1/+1
metze
2011-06-21selftest: Run tests for libsmbclient and libnetapiAndrew Bartlett2-1/+5
This adds the known failure for the one test (netbios browsing) that fails. Andrew Bartlett
2011-06-20tdb2: create tdb2 versions of various testing TDBs.Rusty Russell1-0/+0
Soon, TDB2 will handle tdb1 files, but until then, we substitute. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-09s3-selftest Add test for smbclient --authentication-fileAndrew Bartlett1-5/+5
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Jun 9 13:49:59 CEST 2011 on sn-devel-104
2011-06-08s3:selftest: add a few more raw.* testsStefan Metzmacher1-1/+3
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jun 8 18:57:01 CEST 2011 on sn-devel-104
2011-05-29s3: Run BAD-NBT-SESSION in make testVolker Lendecke1-0/+1
2011-05-25selftest: Make knowfail/skip files consistent, always use ^prefixAndrew Bartlett2-34/+34
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-22s3: Remove the smbtorture3 OPLOCK3 testVolker Lendecke1-1/+1
This is the last user of cli_receive_smb. Oplocks are nowadays tested in smbtorture4, this mainly has historic value
2011-05-16s3-selftest: no point in running base.chkpath and base.delaywrite twice.Günther Deschner1-3/+3
Thanks to Bjoern Baumbach for pointing this out! Guenther Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-28selftest: Fix combination of Samba3 and Samba4 test listsAndrew Bartlett1-0/+1
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-25s3: Run pthreadpooltest in make testVolker Lendecke1-0/+3
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Apr 25 10:39:12 CEST 2011 on sn-devel-104
2011-04-19selftest: Don't specify SELFTEST_TARGET as an env variableAndrew Bartlett1-1/+1
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-19s3-selftest Rename s3 DC environment to s3dcAndrew Bartlett1-24/+24
This should avoid a clash with the s4 DC environment in a future combined 'make test'. Andrew Bartlett
2011-04-16selftest Add binary mappings for samba3 selftestAndrew Bartlett3-13/+20
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-16selftest: Remove duplication between BUILDIR and BINDIRAndrew Bartlett2-3/+3
Just have BINDIR, and have it default to ./bin Andrew Bartlett
2011-04-13s3: Add a test for sid2xidsVolker Lendecke1-0/+4
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13s3-selftest Add workaround for RAP test failureAndrew Bartlett1-0/+2
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-07Revert "s3-test: disable ktest for now"Andrew Bartlett1-1/+0
This reverts commit 77820d59fe517168db5cb79b05214ae9fd6b4467. 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-07s3-test: disable ktest for nowAndrew Tridgell1-0/+1
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