summaryrefslogtreecommitdiffstats
path: root/source4/torture
Commit message (Collapse)AuthorAgeFilesLines
* s4-smbtorture: check driver_version equality as well.Günther Deschner2011-01-041-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
* s4-smbtorture: always setup full driver level 8 in test_add_driver_arg().Günther Deschner2011-01-041-6/+13
| | | | Guenther
* s4-smbtorture: in test_GetDriverInfo_winreg() always test level 6 for samba3 asGünther Deschner2011-01-041-7/+2
| | | | | | well. Guenther
* s4-smbtorture: setup help and dependent files in spoolss driver unc path tests.Günther Deschner2011-01-041-0/+8
| | | | Guenther
* s4-smbtorture: fix DriverDate and DriverVersion comparison checks against w2k3.Günther Deschner2011-01-041-0/+2
| | | | Guenther
* s4-smbtorture: add more tests for driver_dates.Günther Deschner2011-01-041-0/+39
| | | | Guenther
* remove unnecessary use of pass.Jelmer Vernooij2011-01-031-8/+0
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Jan 3 08:21:12 CET 2011 on sn-devel-104
* Use TestCase.get_credentials() where possible.Jelmer Vernooij2011-01-034-7/+6
|
* s4:selftest: specify the gentest_seeds.dat locationStefan Metzmacher2010-12-271-1/+1
| | | | metze
* s4:torture/ndr/spoolss.c - add a "ULL" suffix for a 64 bit unsigned integer ↵Matthias Dieter Wallnöfer2010-12-231-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
* s4-smbtorture: always skip addprinter{ex} level 1 tests for now.Günther Deschner2010-12-221-4/+6
| | | | Guenther
* s4-smbtorture: fix expected driver date REG_SZ string.Günther Deschner2010-12-221-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
* s4-smbtorture: check the returned driver date is equal to the one we passed in.Günther Deschner2010-12-221-0/+4
| | | | Guenther
* s4-smbtorture: interesting, DriverDate and DriverVersion are different in ↵Günther Deschner2010-12-221-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
* s4:dsdb/schema/schema_* - adaptions needed for removed "const" on OIDsMatthias Dieter Wallnöfer2010-12-211-1/+4
|
* s4-smbtorture: run the winreg tests also against an added driver.Günther Deschner2010-12-201-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
* s4-smbtorture: allow to call test_GetDriverInfo_winreg without printer handle.Günther Deschner2010-12-171-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
* s4-smbtorture: check if returned driver paths match requested architecture.Günther Deschner2010-12-171-26/+100
| | | | Guenther
* s4-smbtorture: pass down driverosversion to test_DriverInfo_winreg.Günther Deschner2010-12-171-7/+9
| | | | Guenther
* s4-smbtorture: skip level 8 checks in test_GetDriverInfo_winreg for w2k3.Günther Deschner2010-12-171-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
* s4-smbtorture: skipping level 8 driveradds against w2k3.Günther Deschner2010-12-171-1/+18
| | | | Guenther
* s4-test/repl_schema: remove unused and commented out codeKamen Mazdrashki2010-12-151-3/+0
| | | | | Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Dec 15 01:37:10 CET 2010 on sn-devel-104
* s4-test/repl_schema: Make sure every object is with unique nameKamen Mazdrashki2010-12-151-2/+5
| | | | | This way, test writer don't have to be careful to choose unique objects suffix
* s4-test/repl_schema: use 'top' as default base class for our test ↵Kamen Mazdrashki2010-12-151-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)
* s4-test/repl_schema: New test to test a classSchema with custom attributeKamen Mazdrashki2010-12-151-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
* s4-smbtorture: paranoia check for architectures in request and reply for ↵Günther Deschner2010-12-141-0/+10
| | | | | | enumdrivers test. Guenther
* smbtorture: Default to listing all tests if no prefix was specified.Jelmer Vernooij2010-12-111-2/+6
|
* smbtorture: Implement --list argument.Jelmer Vernooij2010-12-111-10/+45
|
* s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij2010-12-11100-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
* smbtorture: correct error handling in BASE-OPEN.James Peach2010-12-111-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
* smbtorture: Rename --list to --list-suites, add stub --list.Jelmer Vernooij2010-12-103-12/+13
|
* s4-tests Workaround new default of 'client ntlmv2 auth = yes' in testsAndrew Bartlett2010-12-091-1/+1
| | | | | | The new default breaks some tests that were assuming LM or NTLM auth Andrew Bartlett
* smbtorture: use xxxULL notation instead of INT64_C(xxx)Matthieu Patou2010-12-081-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
* s4:torture/locktest.c - fix "pid_t" printf warning on SolarisMatthias Dieter Wallnöfer2010-12-061-1/+1
| | | | | According to "http://www.ibm.com/developerworks/linux/library/l-solar/" it's generally a 32bit "int" - therefore this cast should fit.
* s4:torture/locktest.c - fix one indentationMatthias Dieter Wallnöfer2010-12-061-1/+1
|
* s4:torture/rpc/samr.c - fix output messageMatthias Dieter Wallnöfer2010-12-041-1/+1
|
* s4-test/repl_schema: Test class inheritance through subClassOfKamen Mazdrashki2010-12-021-1/+26
|
* s4-test/fsmo: Remove unused importsKamen Mazdrashki2010-12-021-2/+0
|
* s4-test/delete_object: Remove unused importsKamen Mazdrashki2010-12-021-3/+4
|
* s4-test/repl_schema: Make ERR_NO_SUCH_OBJECT visible to usKamen Mazdrashki2010-12-021-0/+1
| | | | We've lost this import somehow, now it is back in :)
* s4-test/repl_schema: Test classSchema and attributeSchema replication in ↵Kamen Mazdrashki2010-12-021-0/+18
| | | | separate tests
* s4-test/schema: Extend the test to replicate a Class with Attribute with ↵Kamen Mazdrashki2010-12-011-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
* s4-repl: Let dsdb_replicated_objects_convert() to accept schema from callerKamen Mazdrashki2010-12-011-0/+1
| | | | | This allows us to use schema that is different than the one set to 'ldb' to decode objects.
* s4:torture - partially revert "s4:torture - prefer the termination "return"s ↵Matthias Dieter Wallnöfer2010-11-301-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
* s4:torture - prefer the termination "return"s at the end of two unittestsMatthias Dieter Wallnöfer2010-11-292-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
* s4-smbtorture: only run the cupsaddsmb adobe driver test against s3.Günther Deschner2010-11-291-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
* s4-smbtorture: add torture test for cupsaddsmb win9x driver install behavior.Günther Deschner2010-11-291-0/+38
| | | | Guenther
* s4-smbtorture: make add-printerdriver test more robust against empty ↵Günther Deschner2010-11-291-1/+3
| | | | | | configfiles. Guenther
* s4-smbtorture: make driver upload/removal more robust against empty filenames.Günther Deschner2010-11-291-2/+2
| | | | Guenther
* s4-smbtorture: add test for Adobe PostScript driver (Win9x) installation.Günther Deschner2010-11-291-0/+28
| | | | Guenther