summaryrefslogtreecommitdiff
path: root/source3/selftest
AgeCommit message (Collapse)AuthorFilesLines
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
2011-04-06s3-selftest Add tests to show kerberos works across a password changeAndrew Bartlett4-1/+4
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-04s3-selftest Add testing of kerberos loginAndrew Bartlett3-4/+15
This uses a pre-calculated credentials cache, that should be valid until 2036. Andrew Bartlett
2011-04-03s3: Add a quick test for bug 8042Volker Lendecke1-0/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Apr 3 16:13:21 CEST 2011 on sn-devel-104
2011-03-31s3-torture: a very simple test for convert_string_error()Andrew Tridgell1-1/+1
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-29s3-selftest Allow LM passwords and turn of NTLMv2 for security=share testAndrew Bartlett1-1/+1
2011-03-29s3-selftest Add tests for security=serverAndrew Bartlett1-2/+5
Andrew Bartlett
2011-03-18s3-waf: enable nss_winbind in make test for nss_wrapper.Günther Deschner1-0/+1
Guenther
2011-03-18s4-smbtorture: add netsessiongetinfo() test.Günther Deschner1-0/+1
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-18s4-smbtorture: add test for rap_NetUserDelete().Günther Deschner1-0/+1
Guenther
2011-03-18s4-smbtorture: add test for rap_NetUserAdd().Günther Deschner1-0/+1
Guenther
2011-03-15Re-enable base.tcondev test for S3, now we pass it correctly.Jeremy Allison1-1/+0
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Mar 15 00:59:37 CET 2011 on sn-devel-104
2011-03-11s3-selftest: add another flaky s3-torture test to knownfail, this time OPLOCK4.Günther Deschner1-0/+1
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-10waf-selftest: allow to call "make test SUBUNIT_FORMATTER=cat".Günther Deschner1-1/+3
Guenther
2011-03-10s3-selftest: run a couple of dgram NBT tests against s3.Günther Deschner2-1/+4
Guenther
2011-03-09s3-selftest: properly move connect to seal options.Günther Deschner1-2/+2
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-09s3-selftest: no point in testing smb2 via ncacn_ip_tcp.Günther Deschner1-9/+13
Guenther