From bd2bf8990a3bb3bbb91c9d1abcc2d424143ebeb5 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 18 Oct 2007 21:23:25 +0200 Subject: r25699: Add ForceReplication test. Guenther (This used to be commit 0bab602b8e38ca758d3795db3d33a92eb162bb92) --- source4/torture/rpc/frsapi.c | 37 +++++++++++++++++++++++++++++++++---- 1 file changed, 33 insertions(+), 4 deletions(-) (limited to 'source4/torture/rpc') diff --git a/source4/torture/rpc/frsapi.c b/source4/torture/rpc/frsapi.c index a382b1e415..9ea139bf40 100644 --- a/source4/torture/rpc/frsapi.c +++ b/source4/torture/rpc/frsapi.c @@ -24,6 +24,7 @@ #include "torture/rpc/rpc.h" #include "librpc/gen_ndr/ndr_frsapi_c.h" #include "torture/util.h" +#include "param/param.h" static bool test_GetDsPollingIntervalW(struct torture_context *tctx, struct dcerpc_pipe *p, @@ -150,16 +151,17 @@ static bool test_IsPathReplicated(struct torture_context *tctx, FRSAPI_REPLICA_SET_TYPE_DOMAIN, FRSAPI_REPLICA_SET_TYPE_DFS }; int i; + bool ret = true; if (!test_IsPathReplicated_err(tctx, p, NULL, 0, WERR_FRS_INVALID_SERVICE_PARAMETER)) { - return false; + ret = false; } for (i=0; i