Stefan Metzmacher
0cc24f2f9b
s4:torture/rpc/alter_context: check for NT_STATUS_RPC_PROTOCOL_ERROR instead of DCERPC_NCA_S_PROTO_ERROR
...
metze
2010-04-15 09:34:05 +02:00
Stefan Metzmacher
cf9d425e3d
s4:torture/rpc/dssync.c: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead of DCERPC_FAULT_OP_RNG_ERROR
...
metze
2010-04-15 09:34:04 +02:00
Stefan Metzmacher
de94672fe0
s4:torture/rpc/alter_context.c: check for NT_STATUS_RPC_BAD_STUB_DATA instead of NT_STATUS_NET_WRITE_FAULT
...
metze
2010-04-15 09:34:04 +02:00
Stefan Metzmacher
bb4a958c6d
s4:torture/rpc/handles.c: check for NT_STATUS_RPC_SS_CONTEXT_MISMATCH instead of DCERPC_FAULT_CONTEXT_MISMATCH
...
metze
2010-04-15 09:34:04 +02:00
Stefan Metzmacher
34a6350715
s4:torture/rpc/lsa.c: test for NT_STATUS_RPC_SS_CONTEXT_MISMATCH instead of NT_STATUS_NET_WRITE_FAULT
...
metze
2010-04-15 09:34:04 +02:00
Stefan Metzmacher
c0736c70d6
s4:torture/rpc: don't look at p->last_fault_code for debugging anymore
...
metze
2010-04-15 09:34:03 +02:00
Stefan Metzmacher
e1e2195a4a
s4:torture/rpc: rename rpc.h => torture_rpc.h
...
The reason for this is that some systems include
<rpc/rpc.h> from within system headers. HP-UX 11.00
does so somewhere deep inside of <shadow.h>.
For torture/winbind/struct_based.c <rpc/rpc.h> resolves
to torture/rpc/rpc.h and breaks the build.
metze
2010-04-14 20:27:11 +02:00
Stefan Metzmacher
bc6a43aeb4
s4:torture/rpc/winreg: fix compiler warnings
...
metze
2010-04-14 12:01:30 +02:00
Stefan Metzmacher
d0180570b3
s4:torture/rpc/dsgetinfo: first check the rpc layer status before looking at the application result
...
metze
2010-04-14 12:01:30 +02:00
Matthias Dieter Wallnöfer
7d5a8c3506
s4:torture/netlogon - enhance test for "dcesrv_netr_DsRGetDCNameEx2"
...
Test for right domainname handling.
2010-04-13 15:26:55 +02:00
Stefan Metzmacher
4cff89a585
s4:tortore/rpc/spoolss: some compilers don't like .foo.bar = 5
...
metze
2010-04-13 09:55:56 +02:00
Matthias Dieter Wallnöfer
ad9e407357
Revert "s4:prefer "samdb_*_dn" basedn calls over the "ldb_get_*_dn" functions"
...
We should use the "ldb_get_*_basedn" calls since they are available in the LDB
library.
2010-04-13 08:55:15 +02:00
Matthias Dieter Wallnöfer
978a2d26b4
s4:torture/ldap/ldap_sort.c - There should be used the "base_dn" not the "root_dn" for the sort test
...
The (forest) "root_dn" hasn't always to be the same as the (domain) "base_dn"!
2010-04-12 18:49:00 +02:00
Stefan Metzmacher
9ef235ed0a
s4:tortore/rpc/spoolss.c: fix declaration after code warning
...
metze
2010-04-12 16:18:11 +02:00
Matthias Dieter Wallnöfer
1d3b00bfd7
s4:dbspeed torture - improve also the TDB code part
...
Always use the label "failed" on failures, always close the database context
(child of "tmp_ctx") when deleting database file.
2010-04-11 21:49:02 +02:00
Matthias Dieter Wallnöfer
1fd6d9cd66
s4:dbspeed torture - remove unneeded newlines on "torture_result"
...
According to Jelmer's post on the technical list.
2010-04-11 21:49:02 +02:00
Jelmer Vernooij
b65c8d0505
s4: Fix more test results to not conflict with subunit commands.
2010-04-11 20:57:33 +02:00
Jelmer Vernooij
3a34b5f35e
subunit: Remove more test output that could be interpreted by subunit.
2010-04-11 20:57:33 +02:00
Jelmer Vernooij
7da94cc4a6
subunit: Support formatting compatible with upstream subunit, for consistency.
...
Upstream subunit makes a ":" after commands optional, so I've fixed any
places where we might trigger commands accidently. I've filed a bug
about this in subunit.
2010-04-11 20:57:33 +02:00
Matthias Dieter Wallnöfer
c7dfe736a8
s4:torture - "dbspeed" test - add newlines as we have them in the other failure messages
2010-04-11 11:33:45 +02:00
Matthias Dieter Wallnöfer
52ab3ca5e6
s4:torture - "dbspeed" test
...
Calculate the leaks on base of the "tmp_ctx" not the torture context.
2010-04-11 11:31:48 +02:00
Matthias Dieter Wallnöfer
753698e070
s4:torture - "dbspeed" test
...
Unify error handling.
2010-04-11 11:31:47 +02:00
Matthias Dieter Wallnöfer
cc32e7aff2
s4:torture - "dbspeed" test
...
Add more "talloc_free"s where needed or useful.
2010-04-11 11:31:47 +02:00
Jelmer Vernooij
4fb98b6856
torture: Simplify torture suite running, call restricted test suite runner.
2010-04-10 22:38:32 +02:00
Jelmer Vernooij
6b442f43bc
smbtorture: Remove unused shell feature.
2010-04-10 22:38:32 +02:00
Jelmer Vernooij
24f364517b
smbtorture: Support --load-list argument.
2010-04-10 22:38:32 +02:00
Günther Deschner
5eedaaea43
s4-smbtorture: skip winreg symlink test against Samba in RPC-SPOOLSS.
...
Guenther
2010-04-09 20:00:56 +02:00
Günther Deschner
bc2e675c3a
s4-smbtorture: make sure to check for result of spoolss_GetJob tests.
...
This avoids returning potentially uninitialised data. Thanks Andreas for
pointing this out.
Guenther
2010-04-09 20:00:56 +02:00
Günther Deschner
1cec3029e5
s4-smbtorture: display helpful error message when winreg_QueryMultipleValues fails.
...
Guenther
2010-04-09 18:33:45 +02:00
Stefan Metzmacher
0bf6043df9
RPC-ALTERCONTEXT: let the test pass against w2k3 and w2k8
...
The behavior between w2k3 and w2k8 differs:
- w2k3 just ignores alter_context requests which try to change
an existing presentation context.
- w2k8 returns DERPC_NCA_S_PROTO_ERROR and closes the transport
connection.
metze
2010-04-09 16:28:31 +02:00
Stefan Metzmacher
5844a7dfe6
s4:torture/rpc/lsa.c: add test_lsa_OpenPolicy2_ex() that takes an expected status
...
metze
2010-04-09 16:28:31 +02:00
Günther Deschner
48daa0b6ee
s4-smbtorture: add test to check for registry symlinks in RPC-SPOOLSS-PRINTER.
...
Guenther
2010-04-09 16:17:54 +02:00
Günther Deschner
a21be5fc1b
s4-smbtorture: fix build after winreg IDL renames, sorry..
...
Guenther
2010-04-09 14:46:28 +02:00
Günther Deschner
5d04aadcb9
s4-smbtorture: Fix winreg test after keytype renameing.
...
Guenther
2010-04-09 13:57:18 +02:00
Günther Deschner
8c593f6355
s4-smbtorture: when creating winreg-symlinks during a test, it is very wise to make them volatile.
...
Guenther
2010-04-09 13:57:17 +02:00
Günther Deschner
299a6ffe9e
s4-smbtorture: winreg keytype options is a bitmask.
...
Guenther
2010-04-09 13:57:17 +02:00
Günther Deschner
bc9289995a
s4-smbtorture: more work on registry REG_LINK (in-registry symlinks) test.
...
Guenther
2010-04-09 13:57:17 +02:00
Kamen Mazdrashki
fbef33fb73
s4/dsdb: Let caller to control if valid invocationId is critical or zero-guid is acceptable
2010-04-09 12:21:33 +03:00
Kamen Mazdrashki
e5ef11f4e2
s4/test: Use drsut_schemainfo_new() instead of SCHEMA_INFO_DEFAULT local define
2010-04-09 12:21:31 +03:00
Kamen Mazdrashki
15921b669e
s4/waf: add new files to WAF build
2010-04-09 12:21:31 +03:00
Kamen Mazdrashki
526e62c46f
s4/tort: Unit test for schemaInfo implementation
2010-04-09 12:21:27 +03:00
Kamen Mazdrashki
8126c78c76
s4/torture: Suppress Valgrind warnings
...
This patch suppresses two Valgrind warnings of type
"xxx bytes in yy blocks are indirectly lost in loss record"
2010-04-09 02:45:08 +03:00
Günther Deschner
1c4c4dd7e0
s4-smbtorture: protect against full UNC paths in winreg printerinfo test.
...
Guenther
2010-04-08 16:14:20 +02:00
Günther Deschner
16deed7199
s4-smbtorture: add PrinterInfo level 2 / winreg consistency test.
...
This compares PrinterInfo2 with contents of
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\printername and
HKLM\SYSTEM\CurrentControlSet\Control\Print\Printers\printername
Guenther
2010-04-08 15:03:56 +02:00
Günther Deschner
f87a18ec3b
s4-smbtorture: minor cleanup, use data_blob_talloc_zero() in RPC-SPOOLSS.
...
Guenther
2010-04-08 15:03:56 +02:00
Günther Deschner
0ec6f297ee
s4-smbtorture: minor typo in SetJob test in RPC-SPOOLSS.
...
Guenther
2010-04-07 23:53:19 +02:00
Jeremy Allison
40172f374b
Test using (-1) for tid and sessionid in compound related requests.
...
Jeremy.
2010-04-07 10:33:02 -07:00
Günther Deschner
345fcf5875
s4-smbtorture: test for invalid form flags in RPC-SPOOLSS.
...
Guenther
2010-04-07 14:56:07 +02:00
Günther Deschner
f63c345bbd
s4-smbtorture: test all types and also use a wellknown builtin form name in RPC-SPOOLSS.
...
Guenther
2010-04-07 14:41:13 +02:00
Günther Deschner
4712940e7c
s4-smbtorture: merge badname spoolss openprinter tests.
...
Guenther
2010-04-07 11:40:41 +02:00