From ceebd509b1bf6fc6c95c94140dc4d68e94536525 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Thu, 25 Jun 2015 21:47:23 +0200 Subject: [PATCH] s4-torture: make some clusapi torture tests public. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Guenther Signed-off-by: Günther Deschner Reviewed-by: Stefan Metzmacher --- source4/torture/rpc/clusapi.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/source4/torture/rpc/clusapi.c b/source4/torture/rpc/clusapi.c index 2b554eefe0d..8d4dbecdaa2 100644 --- a/source4/torture/rpc/clusapi.c +++ b/source4/torture/rpc/clusapi.c @@ -353,10 +353,10 @@ static bool test_SetQuorumResource(struct torture_context *tctx, return true; } -static bool test_OpenResource_int(struct torture_context *tctx, - struct dcerpc_pipe *p, - const char *lpszResourceName, - struct policy_handle *hResource) +bool test_OpenResource_int(struct torture_context *tctx, + struct dcerpc_pipe *p, + const char *lpszResourceName, + struct policy_handle *hResource) { struct dcerpc_binding_handle *b = p->binding_handle; struct clusapi_OpenResource r; @@ -406,9 +406,9 @@ static bool test_OpenResourceEx_int(struct torture_context *tctx, return true; } -static bool test_CloseResource_int(struct torture_context *tctx, - struct dcerpc_pipe *p, - struct policy_handle *hResource) +bool test_CloseResource_int(struct torture_context *tctx, + struct dcerpc_pipe *p, + struct policy_handle *hResource) { struct dcerpc_binding_handle *b = p->binding_handle; struct clusapi_CloseResource r; @@ -782,9 +782,9 @@ static bool test_FailResource(struct torture_context *tctx, return ret; } -static bool test_OnlineResource_int(struct torture_context *tctx, - struct dcerpc_pipe *p, - struct policy_handle *hResource) +bool test_OnlineResource_int(struct torture_context *tctx, + struct dcerpc_pipe *p, + struct policy_handle *hResource) { struct dcerpc_binding_handle *b = p->binding_handle; struct clusapi_OnlineResource r; @@ -822,9 +822,9 @@ static bool test_OnlineResource(struct torture_context *tctx, return ret; } -static bool test_OfflineResource_int(struct torture_context *tctx, - struct dcerpc_pipe *p, - struct policy_handle *hResource) +bool test_OfflineResource_int(struct torture_context *tctx, + struct dcerpc_pipe *p, + struct policy_handle *hResource) { struct dcerpc_binding_handle *b = p->binding_handle; struct clusapi_OfflineResource r; -- 2.11.4.GIT