summaryrefslogtreecommitdiff
path: root/source3/selftest
AgeCommit message (Collapse)AuthorFilesLines
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
2011-03-09s3-selftest: remove *ncacn_ip_tcp* from knownfail list.Günther Deschner1-1/+0
Guenther
2011-03-08s3-selftest: only run smbtorture4 tests when smbtorture4 is available.Günther Deschner1-14/+14
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-08s3-selftest: add pattern test of dcerpc binding options (using ↵Günther Deschner2-2/+18
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-08s3-selftest: no need to run rpc.samba3.netlogon twice.Günther Deschner1-1/+1
Guenther Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-05s3:test: the registry roundtrip test passes nowMichael Adam1-1/+0
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sat Mar 5 02:19:33 CET 2011 on sn-devel-104
2011-02-22selftest the raw.mux test is flaky:Andrew Bartlett1-0/+1
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-22selftest pass in srcdir into Samba3 target moduleAndrew Bartlett1-0/+2
2011-02-22s3-selftest convert tests.sh to pythonAndrew Bartlett4-211/+201
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-22s3-tests use $PREFIX to ensure tests don't work outside the test areaAndrew Bartlett1-6/+6
Andrew Bartlett
2011-02-22Add tests for various s3 auth modesAndrew Bartlett1-0/+4
2011-02-17s3-selftest: make sure we really use --format=subunit when calling smbtorture4.Günther Deschner1-1/+1
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-16s3:test: run the net.rpc.registry test under "dc" not "dc:local"Michael Adam1-1/+1
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-16s3:test: rename samba3.blackbox.testparm_s3 -> samba3.blackbox.testparmMichael Adam1-1/+1
2011-02-16s3:test: rename samba3.blackbox.net_s3_registry_roundtrip -> ↵Michael Adam2-2/+2
samba3.blackbox.net.local.registry.roundtrip
2011-02-16s3:test: rename samba3.blackbox.net_s3_registry_rpc -> ↵Michael Adam1-1/+1
samba3.blackbox.net.rpc.registry