s4-torture: make some clusapi torture tests public.
authorGünther Deschner <gd@samba.org>
Thu, 25 Jun 2015 19:47:23 +0000 (21:47 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 3 Jul 2015 00:00:27 +0000 (02:00 +0200)
Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/torture/rpc/clusapi.c

index 2b554eefe0da23f8263adce5dfe2c9646f2100d5..8d4dbecdaa29c8989f42b7c7b887eafd54cb454c 100644 (file)
@@ -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;