Matthias Dieter Wallnöfer
3b78fcff5a
s4:torture/nbench/nbench.c - initialise "n"
...
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-12 20:38:02 +01:00
Matthias Dieter Wallnöfer
a26a48934d
torture:drs/rpc/msds_intid.c - proof for the correct "intId"
...
"drs_attr" is uninitialised in this loop
2011-01-12 19:52:19 +01:00
Matthieu Patou
1c6077e71e
torture: add ndr tests for backup key protocol
...
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-12 10:25:00 +01:00
Günther Deschner
0279422c83
s4-smbtorture: check driver_version equality as well.
...
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-04 11:22:08 +01:00
Günther Deschner
64576106b1
s4-smbtorture: always setup full driver level 8 in test_add_driver_arg().
...
Guenther
2011-01-04 10:33:56 +01:00
Günther Deschner
69174fea5b
s4-smbtorture: in test_GetDriverInfo_winreg() always test level 6 for samba3 as
...
well.
Guenther
2011-01-04 10:33:56 +01:00
Günther Deschner
19a295dee8
s4-smbtorture: setup help and dependent files in spoolss driver unc path tests.
...
Guenther
2011-01-04 10:33:55 +01:00
Günther Deschner
8fc28818b9
s4-smbtorture: fix DriverDate and DriverVersion comparison checks against w2k3.
...
Guenther
2011-01-04 10:33:55 +01:00
Günther Deschner
9c46370e91
s4-smbtorture: add more tests for driver_dates.
...
Guenther
2011-01-04 10:33:52 +01:00
Jelmer Vernooij
b5474f2441
remove unnecessary use of pass.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Jan 3 08:21:12 CET 2011 on sn-devel-104
2011-01-03 08:21:12 +01:00
Jelmer Vernooij
9fc2e6c352
Use TestCase.get_credentials() where possible.
2011-01-03 01:48:05 +01:00
Stefan Metzmacher
01a1a71b55
s4:selftest: specify the gentest_seeds.dat location
...
metze
2010-12-27 15:37:56 +01:00
Matthias Dieter Wallnöfer
78d12e5629
s4:torture/ndr/spoolss.c - add a "ULL" suffix for a 64 bit unsigned integer 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-23 13:43:57 +01:00
Günther Deschner
a204c45e59
s4-smbtorture: always skip addprinter{ex} level 1 tests for now.
...
Guenther
2010-12-22 13:33:18 +01:00
Günther Deschner
9626487a14
s4-smbtorture: fix expected driver date REG_SZ string.
...
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-22 13:33:17 +01:00
Günther Deschner
3931d4aa65
s4-smbtorture: check the returned driver date is equal to the one we passed in.
...
Guenther
2010-12-22 13:33:17 +01:00
Günther Deschner
340d2df123
s4-smbtorture: interesting, DriverDate and DriverVersion are different in 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-22 13:33:17 +01:00
Matthias Dieter Wallnöfer
912faf1b08
s4:dsdb/schema/schema_* - adaptions needed for removed "const" on OIDs
2010-12-21 15:10:37 +11:00
Günther Deschner
9dce43a809
s4-smbtorture: run the winreg tests also against an added driver.
...
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-20 14:31:43 +01:00
Günther Deschner
4e9d67b7c0
s4-smbtorture: allow to call test_GetDriverInfo_winreg without printer handle.
...
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-17 17:35:21 +01:00
Günther Deschner
92f1029e87
s4-smbtorture: check if returned driver paths match requested architecture.
...
Guenther
2010-12-17 16:50:19 +01:00
Günther Deschner
545d3a013c
s4-smbtorture: pass down driverosversion to test_DriverInfo_winreg.
...
Guenther
2010-12-17 13:10:08 +01:00
Günther Deschner
4f4ac6462a
s4-smbtorture: skip level 8 checks in test_GetDriverInfo_winreg for w2k3.
...
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-17 12:20:38 +01:00
Günther Deschner
5083be506e
s4-smbtorture: skipping level 8 driveradds against w2k3.
...
Guenther
2010-12-17 11:33:05 +01:00
Kamen Mazdrashki
3bc1cf94e3
s4-test/repl_schema: remove unused and commented out code
...
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Wed Dec 15 01:37:10 CET 2010 on sn-devel-104
2010-12-15 01:37:10 +01:00
Kamen Mazdrashki
9c78bdfd47
s4-test/repl_schema: Make sure every object is with unique name
...
This way, test writer don't have to be careful to choose
unique objects suffix
2010-12-15 00:51:19 +01:00
Kamen Mazdrashki
efcc3c0d79
s4-test/repl_schema: use 'top' as default base class for our test 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-15 00:51:19 +01:00
Kamen Mazdrashki
1379075762
s4-test/repl_schema: New test to test a classSchema with custom attribute
...
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-15 00:51:19 +01:00
Günther Deschner
0990f6342e
s4-smbtorture: paranoia check for architectures in request and reply for enumdrivers test.
...
Guenther
2010-12-14 22:42:17 +01:00
Jelmer Vernooij
13bb9e7046
smbtorture: Default to listing all tests if no prefix was specified.
2010-12-11 18:48:05 +01:00
Jelmer Vernooij
1f5f4e912d
smbtorture: Implement --list argument.
2010-12-11 18:48:05 +01:00
Jelmer Vernooij
35fbc7bbda
s4-smbtorture: Make test names lowercase and dot-separated.
...
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-11 04:16:13 +01:00
James Peach
7ef1de3973
smbtorture: correct error handling in BASE-OPEN.
...
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-11 03:19:39 +01:00
Jelmer Vernooij
365cfb1c32
smbtorture: Rename --list to --list-suites, add stub --list.
2010-12-10 03:04:06 +01:00
Andrew Bartlett
22d67758ef
s4-tests Workaround new default of 'client ntlmv2 auth = yes' in tests
...
The new default breaks some tests that were assuming LM or NTLM auth
Andrew Bartlett
2010-12-09 18:01:56 +11:00
Matthieu Patou
02f3567814
smbtorture: use xxxULL notation instead of INT64_C(xxx)
...
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-08 15:48:10 +01:00
Matthias Dieter Wallnöfer
2664a67c86
s4:torture/locktest.c - fix "pid_t" printf warning on Solaris
...
According to "http://www.ibm.com/developerworks/linux/library/l-solar/ "
it's generally a 32bit "int" - therefore this cast should fit.
2010-12-06 11:28:59 +01:00
Matthias Dieter Wallnöfer
3b7e2ee5e4
s4:torture/locktest.c - fix one indentation
2010-12-06 11:28:59 +01:00
Matthias Dieter Wallnöfer
b604e9425b
s4:torture/rpc/samr.c - fix output message
2010-12-04 10:07:25 +01:00
Kamen Mazdrashki
c1fef7efc7
s4-test/repl_schema: Test class inheritance through subClassOf
2010-12-02 19:02:55 +02:00
Kamen Mazdrashki
1b7070039f
s4-test/fsmo: Remove unused imports
2010-12-02 19:02:54 +02:00
Kamen Mazdrashki
ad1ea5e142
s4-test/delete_object: Remove unused imports
2010-12-02 19:02:53 +02:00
Kamen Mazdrashki
28f47112d7
s4-test/repl_schema: Make ERR_NO_SUCH_OBJECT visible to us
...
We've lost this import somehow, now it is back in :)
2010-12-02 19:02:53 +02:00
Kamen Mazdrashki
ebdbf9bd90
s4-test/repl_schema: Test classSchema and attributeSchema replication in separate tests
2010-12-02 19:02:52 +02:00
Kamen Mazdrashki
6803a72d15
s4-test/schema: Extend the test to replicate a Class with Attribute with "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-01 13:30:45 +01:00
Kamen Mazdrashki
4041791d01
s4-repl: Let dsdb_replicated_objects_convert() to accept schema from caller
...
This allows us to use schema that is different than the one
set to 'ldb' to decode objects.
2010-12-01 13:01:16 +02:00
Matthias Dieter Wallnöfer
10d1cd7af7
s4:torture - partially revert "s4:torture - prefer the termination "return"s at the end of two unittests"
...
This partially reverts commit 54a5c398aa
.
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-30 09:23:00 +01:00
Matthias Dieter Wallnöfer
54a5c398aa
s4:torture - prefer the termination "return"s at the end of two unittests
...
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-29 23:29:23 +01:00
Günther Deschner
53712fbb4f
s4-smbtorture: only run the cupsaddsmb adobe driver test against s3.
...
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-29 18:47:17 +01:00
Günther Deschner
e722c66b98
s4-smbtorture: add torture test for cupsaddsmb win9x driver install behavior.
...
Guenther
2010-11-29 17:50:05 +01:00