summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-09-01 01:42:56 +0300
committerKamen Mazdrashki <kamenim@samba.org>2010-09-01 19:12:23 +0300
commit97246f7bbd4f1df1002b606051bfb2dde4977e4a (patch)
treef1d83ee78ced688620df6e19be9cec811caeae38 /source4/torture
parent5b875a83a9c641f9e016bd4e83051170f7bd50d0 (diff)
downloadsamba-97246f7bbd4f1df1002b606051bfb2dde4977e4a.tar.gz
samba-97246f7bbd4f1df1002b606051bfb2dde4977e4a.tar.bz2
samba-97246f7bbd4f1df1002b606051bfb2dde4977e4a.zip
s4-test-dssync: Print the reason for skipping FetchNT4Data test
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/drs/rpc/dssync.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/source4/torture/drs/rpc/dssync.c b/source4/torture/drs/rpc/dssync.c
index 2285dfc0b3..c7b67081cb 100644
--- a/source4/torture/drs/rpc/dssync.c
+++ b/source4/torture/drs/rpc/dssync.c
@@ -954,17 +954,20 @@ static bool test_FetchNT4Data(struct torture_context *tctx,
status = dcerpc_drsuapi_DsGetNT4ChangeLog_r(ctx->new_dc.drsuapi.drs_handle, ctx, &r);
if (NT_STATUS_EQUAL(status, NT_STATUS_NOT_IMPLEMENTED)) {
- torture_skip(tctx, "DsGetNT4ChangeLog not supported by target server");
+ torture_skip(tctx,
+ "DsGetNT4ChangeLog not supported: NT_STATUS_NOT_IMPLEMENTED");
} else if (!NT_STATUS_IS_OK(status)) {
const char *errstr = nt_errstr(status);
if (NT_STATUS_EQUAL(status, NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE)) {
- torture_skip(tctx, "DsGetNT4ChangeLog not supported by target server");
+ torture_skip(tctx,
+ "DsGetNT4ChangeLog not supported: NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE");
}
torture_fail(tctx,
talloc_asprintf(tctx, "dcerpc_drsuapi_DsGetNT4ChangeLog failed - %s\n",
errstr));
} else if (W_ERROR_EQUAL(r.out.result, WERR_INVALID_DOMAIN_ROLE)) {
- torture_skip(tctx, "DsGetNT4ChangeLog not supported by target server");
+ torture_skip(tctx,
+ "DsGetNT4ChangeLog not supported: WERR_INVALID_DOMAIN_ROLE");
} else if (!W_ERROR_IS_OK(r.out.result)) {
torture_fail(tctx,
talloc_asprintf(tctx, "DsGetNT4ChangeLog failed - %s\n",