summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2010-04-20s4-smbtorture: add spoolss DriverInfo and winreg consistency test.Günther Deschner1-7/+238
Guenther
2010-04-20s4-smbtorture: add function to get a printserver's environment.Günther Deschner1-0/+22
Guenther
2010-04-20s4-smbtorture: simplify macros used in PrinterInfo winreg consistency teste.Günther Deschner1-22/+22
Guenther
2010-04-20s4-smbtorture: refactor test_GetPrinterDriver2().Günther Deschner1-36/+64
Guenther
2010-04-20s4-smbtorture: add test for csetprinter field behaviour in printer info level 0.Günther Deschner1-0/+71
Suprisingly, that value is always 0 (at least on w2k8r2). Guenther
2010-04-20s4:torture/rpc/netlogon.c - fix typoMatthias Dieter Wallnöfer1-1/+1
2010-04-18s4-waf: removed the unused installdir= option to SAMBA_BINARY()Andrew Tridgell1-4/+0
This was left over from the automatic conversion of the config.mk files
2010-04-15s4:torture/rpc/countcalls: check for NT_STATUS_IS_RPC() instead of ↵Stefan Metzmacher1-1/+1
NT_STATUS_NET_WRITE_FAULT metze
2010-04-15s4:torture/rpc/autoidl.c: check for NT_STATUS_RPC_* instead of ↵Stefan Metzmacher1-9/+9
p->last_fault_code metze
2010-04-15s4:torture/rpc/dsgetinfo.c: check for NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE ↵Stefan Metzmacher1-1/+1
instead of DCERPC_FAULT_INVALID_TAG metze
2010-04-15s4:torture/rpc/spoolss.c: check for NT_STATUS_RPC_* instead of ↵Stefan Metzmacher1-6/+2
p->last_fault_code metze
2010-04-15s4:torture/rpc/scanner.c: check for NT_STATUS_RPC_* instead of ↵Stefan Metzmacher1-6/+4
p->last_fault_code metze
2010-04-15s4:torture/rpc/samr.c: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead ↵Stefan Metzmacher1-2/+1
of DCERPC_FAULT_OP_RNG_ERROR metze
2010-04-15s4:torture/rpc/drsuapi.c: check for NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE ↵Stefan Metzmacher1-1/+1
instead of DCERPC_FAULT_INVALID_TAG metze
2010-04-15s4:torture/rpc/countcalls.c: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE ↵Stefan Metzmacher1-7/+1
instead of DCERPC_FAULT_OP_RNG_ERROR metze
2010-04-15s4:torture/rpc/alter_context: check for NT_STATUS_RPC_PROTOCOL_ERROR instead ↵Stefan Metzmacher1-3/+1
of DCERPC_NCA_S_PROTO_ERROR metze
2010-04-15s4:torture/rpc/dssync.c: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE ↵Stefan Metzmacher1-6/+2
instead of DCERPC_FAULT_OP_RNG_ERROR metze
2010-04-15s4:torture/rpc/alter_context.c: check for NT_STATUS_RPC_BAD_STUB_DATA ↵Stefan Metzmacher1-1/+1
instead of NT_STATUS_NET_WRITE_FAULT metze
2010-04-15s4:torture/rpc/handles.c: check for NT_STATUS_RPC_SS_CONTEXT_MISMATCH ↵Stefan Metzmacher1-40/+14
instead of DCERPC_FAULT_CONTEXT_MISMATCH metze
2010-04-15s4:torture/rpc/lsa.c: test for NT_STATUS_RPC_SS_CONTEXT_MISMATCH instead of ↵Stefan Metzmacher1-1/+1
NT_STATUS_NET_WRITE_FAULT metze
2010-04-15s4:torture/rpc: don't look at p->last_fault_code for debugging anymoreStefan Metzmacher5-42/+0
metze
2010-04-14s4:torture/rpc: rename rpc.h => torture_rpc.hStefan Metzmacher66-65/+65
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-14s4:torture/rpc/winreg: fix compiler warningsStefan Metzmacher1-3/+3
metze
2010-04-14s4:torture/rpc/dsgetinfo: first check the rpc layer status before looking at ↵Stefan Metzmacher1-8/+13
the application result metze
2010-04-13s4:torture/netlogon - enhance test for "dcesrv_netr_DsRGetDCNameEx2"Matthias Dieter Wallnöfer1-0/+20
Test for right domainname handling.
2010-04-13s4:tortore/rpc/spoolss: some compilers don't like .foo.bar = 5Stefan Metzmacher1-28/+42
metze
2010-04-13Revert "s4:prefer "samdb_*_dn" basedn calls over the "ldb_get_*_dn" functions"Matthias Dieter Wallnöfer3-5/+5
We should use the "ldb_get_*_basedn" calls since they are available in the LDB library.
2010-04-12s4:torture/ldap/ldap_sort.c - There should be used the "base_dn" not the ↵Matthias Dieter Wallnöfer1-2/+2
"root_dn" for the sort test The (forest) "root_dn" hasn't always to be the same as the (domain) "base_dn"!
2010-04-12s4:tortore/rpc/spoolss.c: fix declaration after code warningStefan Metzmacher1-10/+10
metze
2010-04-11s4:dbspeed torture - improve also the TDB code partMatthias Dieter Wallnöfer1-10/+9
Always use the label "failed" on failures, always close the database context (child of "tmp_ctx") when deleting database file.
2010-04-11s4:dbspeed torture - remove unneeded newlines on "torture_result"Matthias Dieter Wallnöfer1-7/+7
According to Jelmer's post on the technical list.
2010-04-11s4: Fix more test results to not conflict with subunit commands.Jelmer Vernooij1-7/+7
2010-04-11subunit: Remove more test output that could be interpreted by subunit.Jelmer Vernooij2-49/+49
2010-04-11subunit: Support formatting compatible with upstream subunit, for consistency.Jelmer Vernooij37-276/+277
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-11s4:torture - "dbspeed" test - add newlines as we have them in the other ↵Matthias Dieter Wallnöfer1-2/+2
failure messages
2010-04-11s4:torture - "dbspeed" testMatthias Dieter Wallnöfer1-2/+2
Calculate the leaks on base of the "tmp_ctx" not the torture context.
2010-04-11s4:torture - "dbspeed" testMatthias Dieter Wallnöfer1-10/+17
Unify error handling.
2010-04-11s4:torture - "dbspeed" testMatthias Dieter Wallnöfer1-3/+4
Add more "talloc_free"s where needed or useful.
2010-04-10torture: Simplify torture suite running, call restricted test suite runner.Jelmer Vernooij1-43/+29
2010-04-10smbtorture: Remove unused shell feature.Jelmer Vernooij1-51/+1
2010-04-10smbtorture: Support --load-list argument.Jelmer Vernooij1-16/+30
2010-04-09s4-smbtorture: skip winreg symlink test against Samba in RPC-SPOOLSS.Günther Deschner1-0/+4
Guenther
2010-04-09s4-smbtorture: make sure to check for result of spoolss_GetJob tests.Günther Deschner1-4/+5
This avoids returning potentially uninitialised data. Thanks Andreas for pointing this out. Guenther
2010-04-09s4-smbtorture: display helpful error message when winreg_QueryMultipleValues ↵Günther Deschner1-5/+3
fails. Guenther
2010-04-09RPC-ALTERCONTEXT: let the test pass against w2k3 and w2k8Stefan Metzmacher1-0/+30
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-09s4:torture/rpc/lsa.c: add test_lsa_OpenPolicy2_ex() that takes an expected ↵Stefan Metzmacher1-4/+17
status metze
2010-04-09s4-smbtorture: add test to check for registry symlinks in RPC-SPOOLSS-PRINTER.Günther Deschner1-6/+66
Guenther
2010-04-09s4-smbtorture: fix build after winreg IDL renames, sorry..Günther Deschner1-1/+1
Guenther
2010-04-09s4-smbtorture: Fix winreg test after keytype renameing.Günther Deschner1-21/+21
Guenther
2010-04-09s4-smbtorture: when creating winreg-symlinks during a test, it is very wise ↵Günther Deschner1-2/+2
to make them volatile. Guenther