summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2010-12-17s4-smbtorture: allow to call test_GetDriverInfo_winreg without printer handle.Günther Deschner1-11/+30
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Dec 17 17:35:21 CET 2010 on sn-devel-104
2010-12-17s4-smbtorture: check if returned driver paths match requested architecture.Günther Deschner1-26/+100
Guenther
2010-12-17s4-smbtorture: pass down driverosversion to test_DriverInfo_winreg.Günther Deschner1-7/+9
Guenther
2010-12-17s4-smbtorture: skip level 8 checks in test_GetDriverInfo_winreg for w2k3.Günther Deschner1-0/+4
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Dec 17 12:20:38 CET 2010 on sn-devel-104
2010-12-17s4-smbtorture: skipping level 8 driveradds against w2k3.Günther Deschner1-1/+18
Guenther
2010-12-15s4-test/repl_schema: remove unused and commented out codeKamen Mazdrashki1-3/+0
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Dec 15 01:37:10 CET 2010 on sn-devel-104
2010-12-15s4-test/repl_schema: Make sure every object is with unique nameKamen Mazdrashki1-2/+5
This way, test writer don't have to be careful to choose unique objects suffix
2010-12-15s4-test/repl_schema: use 'top' as default base class for our test ↵Kamen Mazdrashki1-1/+1
classSchema objects Otherwise we will end up passing whole inheritance chain every time we create some new fancy classSchema object (as the 'cls-A' and 'cls-B' ones in test_classWithCustomAttribute test)
2010-12-15s4-test/repl_schema: New test to test a classSchema with custom attributeKamen Mazdrashki1-0/+24
Create new Attribute and a Class, that has value for newly created attribute. This should check code path that searches for AttributeID_id in Schema cacheThis test. It also tests how we replicate a leaf classSchema that inherits from a new classSchema with attribute added - tests both dsdb_attribute_drsuapi_to_ldb() and _dsdb_syntax_OID_obj_drsuapi_to_ldb() syntax handler
2010-12-14s4-smbtorture: paranoia check for architectures in request and reply for ↵Günther Deschner1-0/+10
enumdrivers test. Guenther
2010-12-11smbtorture: Default to listing all tests if no prefix was specified.Jelmer Vernooij1-2/+6
2010-12-11smbtorture: Implement --list argument.Jelmer Vernooij1-10/+45
2010-12-11s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij100-565/+549
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-11smbtorture: correct error handling in BASE-OPEN.James Peach1-71/+104
There are a number of cases in BASE-OPEN where an initial failure cascades into multiple failures due to lack of cleanup between test phases. Fix all these so that they close open file handles correctly. Replace torture_comment with torture_result where appropriate so that the results output contains a useful diagnostic. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Dec 11 03:19:39 CET 2010 on sn-devel-104
2010-12-10smbtorture: Rename --list to --list-suites, add stub --list.Jelmer Vernooij3-12/+13
2010-12-09s4-tests Workaround new default of 'client ntlmv2 auth = yes' in testsAndrew Bartlett1-1/+1
The new default breaks some tests that were assuming LM or NTLM auth Andrew Bartlett
2010-12-08smbtorture: use xxxULL notation instead of INT64_C(xxx)Matthieu Patou1-2/+2
The first one is portable the second not always Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Dec 8 15:48:10 CET 2010 on sn-devel-104
2010-12-06s4:torture/locktest.c - fix "pid_t" printf warning on SolarisMatthias Dieter Wallnöfer1-1/+1
According to "http://www.ibm.com/developerworks/linux/library/l-solar/" it's generally a 32bit "int" - therefore this cast should fit.
2010-12-06s4:torture/locktest.c - fix one indentationMatthias Dieter Wallnöfer1-1/+1
2010-12-04s4:torture/rpc/samr.c - fix output messageMatthias Dieter Wallnöfer1-1/+1
2010-12-02s4-test/repl_schema: Test class inheritance through subClassOfKamen Mazdrashki1-1/+26
2010-12-02s4-test/fsmo: Remove unused importsKamen Mazdrashki1-2/+0
2010-12-02s4-test/delete_object: Remove unused importsKamen Mazdrashki1-3/+4
2010-12-02s4-test/repl_schema: Make ERR_NO_SUCH_OBJECT visible to usKamen Mazdrashki1-0/+1
We've lost this import somehow, now it is back in :)
2010-12-02s4-test/repl_schema: Test classSchema and attributeSchema replication in ↵Kamen Mazdrashki1-0/+18
separate tests
2010-12-01s4-test/schema: Extend the test to replicate a Class with Attribute with ↵Kamen Mazdrashki1-2/+10
"mayContain" relation Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Dec 1 13:30:45 CET 2010 on sn-devel-104
2010-12-01s4-repl: Let dsdb_replicated_objects_convert() to accept schema from callerKamen Mazdrashki1-0/+1
This allows us to use schema that is different than the one set to 'ldb' to decode objects.
2010-11-30s4:torture - partially revert "s4:torture - prefer the termination "return"s ↵Matthias Dieter Wallnöfer1-4/+2
at the end of two unittests" This partially reverts commit 54a5c398aaa1d53b5892c9b0aa5539ae7da651da. As tridge pointed out I've overseen the nested loop in "run_iometer". Therefore we end in a infinite loop. Obviously it wasn't run by "make test" since then I would have detected it. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Nov 30 09:23:00 CET 2010 on sn-devel-104
2010-11-29s4:torture - prefer the termination "return"s at the end of two unittestsMatthias Dieter Wallnöfer2-4/+11
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Nov 29 23:29:23 CET 2010 on sn-devel-104
2010-11-29s4-smbtorture: only run the cupsaddsmb adobe driver test against s3.Günther Deschner1-0/+4
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Nov 29 18:47:17 CET 2010 on sn-devel-104
2010-11-29s4-smbtorture: add torture test for cupsaddsmb win9x driver install behavior.Günther Deschner1-0/+38
Guenther
2010-11-29s4-smbtorture: make add-printerdriver test more robust against empty ↵Günther Deschner1-1/+3
configfiles. Guenther
2010-11-29s4-smbtorture: make driver upload/removal more robust against empty filenames.Günther Deschner1-2/+2
Guenther
2010-11-29s4-smbtorture: add test for Adobe PostScript driver (Win9x) installation.Günther Deschner1-0/+28
Guenther
2010-11-29s4-smbtorture: handle driverfile overlap during removal in RPC-SPOOLSS-DRIVER.Günther Deschner1-3/+5
Guenther
2010-11-29s4-smbtorture: re-arrange RPC-SPOOLSS-DRIVER test a bit.Günther Deschner1-35/+44
Guenther
2010-11-29s4:torture - remove unreachable statements to quiet warnings of Solaris "cc"Matthias Dieter Wallnöfer4-10/+0
2010-11-29s4-repl_schema: fixed ldb exception handlingAndrew Tridgell1-2/+4
2010-11-28s4:torture/smb2/acls.c - remove two unused variablesMatthias Dieter Wallnöfer1-2/+0
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Nov 28 17:22:54 CET 2010 on sn-devel-104
2010-11-28s4:introduce casts before outputs of "time_t" variablesMatthias Dieter Wallnöfer1-1/+1
Otherwise we are getting warnings on "NetBSD".
2010-11-28s4-python: Fix formatting of docstrings for the purpose of pydoctor.Jelmer Vernooij1-4/+6
2010-11-27s4:torture/rpc/samr.c - fix uninitialised "status" variablesMatthias Dieter Wallnöfer1-0/+4
Detected by Tru64. I wonder how this tests even worked.
2010-11-27s4:torture/rpc/samsync.c - remove uninitialised "nt_status" checkMatthias Dieter Wallnöfer1-8/+1
Found by Tru64 compiler.
2010-11-27s4:torture/drs/python/fsmo.py - fix comments and an error messageMatthias Dieter Wallnöfer1-3/+3
2010-11-24s4-smbtorture: pick a better printer in RPC-SPOOLSS-ACCESS.Günther Deschner1-1/+8
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Nov 24 22:07:33 CET 2010 on sn-devel-104
2010-11-23s4-test/repl_schema: Refactor the test a little bit toKamen Mazdrashki1-31/+59
- Cleanup imports - make sure we have testtools and subunit imported - use dictionaries instead of LDIFs for schema modification so now callers for _make_class can easily add new attributes for created class - simplify a little bit classSchema creation - test attributeSchema replication Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Tue Nov 23 18:44:46 CET 2010 on sn-devel-104
2010-11-22s4-test/repl_schema: Remote global ldb connectionsKamen Mazdrashki1-25/+7
Although unlikely, Jelmer pointed out that using persistent SamDB connections between test may interfere with tests behaviour (and is not xUnit compliant anyway) Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Mon Nov 22 15:24:03 CET 2010 on sn-devel-104
2010-11-19s4:netlogon/LogonGetDomainInfo - handle a NULL "dns_hostname"Matthias Dieter Wallnöfer1-2/+20
- Performs the short computer name check against the sam account name. - Enhances the LogonGetDomainInfo testsuite which checks the NULL "dns_hostname" behaviour Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Nov 19 12:50:33 CET 2010 on sn-devel-104
2010-11-19s4:torture/ldb/ldb.c - add a small test for a DN with an escaped commaMatthias Dieter Wallnöfer1-0/+6
2010-11-16s4-spoolss: fixed warning in call to torture_warning()Andrew Tridgell1-2/+2