summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2016-05-03 17:38:29 +0200
committerJeremy Allison <jra@samba.org>2016-09-07 23:56:16 +0200
commit31d0ef96f8e91d74015eed09d4ae9b8d3312a01c (patch)
treed8874f6132c07f399fb82ab5e9df57aad86c5a30 /source4/torture/rpc
parentde11f1b32b0ed75a3227ef3a10d744224dec06dd (diff)
downloadsamba-31d0ef96f8e91d74015eed09d4ae9b8d3312a01c.tar.gz
s4-torture: test CLUSCTL_GROUP_GET_FLAGS GroupControl.
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/clusapi.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source4/torture/rpc/clusapi.c b/source4/torture/rpc/clusapi.c
index 3d5ba62d3b5..d806dfb436e 100644
--- a/source4/torture/rpc/clusapi.c
+++ b/source4/torture/rpc/clusapi.c
@@ -2230,6 +2230,11 @@ static bool test_GroupControl(struct torture_context *tctx,
return false;
}
+ ret = test_GroupControl_int(tctx, t->p, &hGroup, CLUSCTL_GROUP_GET_FLAGS);
+ if (!ret) {
+ return false;
+ }
+
test_CloseGroup_int(tctx, t->p, &hGroup);
return ret;
@@ -2338,6 +2343,10 @@ static bool test_one_group(struct torture_context *tctx,
"failed to query group id");
torture_assert(tctx,
+ test_GroupControl_int(tctx, p, &hGroup, CLUSCTL_GROUP_GET_FLAGS),
+ "failed to query group control");
+
+ torture_assert(tctx,
test_CreateGroupResourceEnum_int(tctx, p, &hGroup),
"failed to query resource enum");