summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2011-01-25s4-test/delete_object: Remove global ldb connectionsKamen Mazdrashki1-26/+7
Make it more xUnit compliant Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Tue Jan 25 21:30:19 CET 2011 on sn-devel-104
2011-01-21s4-smbtorture: make sure there is always driverextra data in spoolss devmode ↵Günther Deschner1-2/+10
size tests. Guenther
2011-01-21s4-smbtorture: add tests for the size member of spoolss devicemodes.Günther Deschner1-1/+5
Guenther
2011-01-21s4-smbtorture: prepare devicemode test for expected result tests.Günther Deschner1-9/+15
Guenther
2011-01-21s4-smbtorture: add some paranoia checks for 0 sized devmodes.Günther Deschner1-0/+15
Guenther
2011-01-20s4-auth Remove special case for account_sid from auth_serversupplied_infoAndrew Bartlett2-24/+21
This makes everything reference a server_info->sids list, which is now a struct dom_sid *, not a struct dom_sid **. This is in keeping with the other sid lists in the security_token etc. In the process, I also tidy up the talloc tree (move more structures under their logical parents) and check for some possible overflows in situations with a pathological number of sids. Andrew Bartlett
2011-01-20lib/util: add tests for anonymous_shared_allocate/free()Stefan Metzmacher2-1/+17
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jan 20 06:25:03 CET 2011 on sn-devel-104
2011-01-18s4-torture Remove unused temp dirs from the RPC-PAC test.Andrew Bartlett1-9/+0
The code previously required the creation of a messaging context, but this isn't done any more, so we don't need the tmp dir to put it in. Andrew Bartlett
2011-01-17s4-dsdb: pass parent request to dsdb_module_*() functions Andrew Tridgell1-4/+4
this preserves the request hierarchy for dsdb_module_*() calls inside dsdb ldb modules Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-01-12s4:torture/nbench/nbench.c - initialise "n"Matthias Dieter Wallnöfer1-1/+1
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Jan 12 20:38:02 CET 2011 on sn-devel-104
2011-01-12torture:drs/rpc/msds_intid.c - proof for the correct "intId"Matthias Dieter Wallnöfer1-1/+1
"drs_attr" is uninitialised in this loop
2011-01-12torture: add ndr tests for backup key protocolMatthieu Patou3-1/+161
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jan 12 10:25:00 CET 2011 on sn-devel-104
2011-01-04s4-smbtorture: check driver_version equality as well.Günther Deschner1-0/+2
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Jan 4 11:22:09 CET 2011 on sn-devel-104
2011-01-04s4-smbtorture: always setup full driver level 8 in test_add_driver_arg().Günther Deschner1-6/+13
Guenther
2011-01-04s4-smbtorture: in test_GetDriverInfo_winreg() always test level 6 for samba3 asGünther Deschner1-7/+2
well. Guenther
2011-01-04s4-smbtorture: setup help and dependent files in spoolss driver unc path tests.Günther Deschner1-0/+8
Guenther
2011-01-04s4-smbtorture: fix DriverDate and DriverVersion comparison checks against w2k3.Günther Deschner1-0/+2
Guenther
2011-01-04s4-smbtorture: add more tests for driver_dates.Günther Deschner1-0/+39
Guenther
2011-01-03remove unnecessary use of pass.Jelmer Vernooij1-8/+0
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Jan 3 08:21:12 CET 2011 on sn-devel-104
2011-01-03Use TestCase.get_credentials() where possible.Jelmer Vernooij4-7/+6
2010-12-27s4:selftest: specify the gentest_seeds.dat locationStefan Metzmacher1-1/+1
metze
2010-12-23s4:torture/ndr/spoolss.c - add a "ULL" suffix for a 64 bit unsigned integer ↵Matthias Dieter Wallnöfer1-1/+1
literal To quiet a warning on Solaris Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Dec 23 13:43:57 CET 2010 on sn-devel-104
2010-12-22s4-smbtorture: always skip addprinter{ex} level 1 tests for now.Günther Deschner1-4/+6
Guenther
2010-12-22s4-smbtorture: fix expected driver date REG_SZ string.Günther Deschner1-0/+5
This resolves the "WARNING!: ../torture/rpc/spoolss.c:4688: str was 01/01/1601, expected 01/01/1970: "DriverDate" - driver_date mismatch" warnings. Guenther
2010-12-22s4-smbtorture: check the returned driver date is equal to the one we passed in.Günther Deschner1-0/+4
Guenther
2010-12-22s4-smbtorture: interesting, DriverDate and DriverVersion are different in ↵Günther Deschner1-2/+25
w2k3 and w2k8r2. While in w2k8 they are REG_SZ date or numerical strings, they are 8 byte REG_BINARY blobs in w2k3. Guenther
2010-12-21s4:dsdb/schema/schema_* - adaptions needed for removed "const" on OIDsMatthias Dieter Wallnöfer1-1/+4
2010-12-20s4-smbtorture: run the winreg tests also against an added driver.Günther Deschner1-0/+19
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Dec 20 14:31:43 CET 2010 on sn-devel-104
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