From 31d0ef96f8e91d74015eed09d4ae9b8d3312a01c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Tue, 3 May 2016 17:38:29 +0200 Subject: s4-torture: test CLUSCTL_GROUP_GET_FLAGS GroupControl. Guenther Signed-off-by: Guenther Deschner Reviewed-by: Jeremy Allison --- source4/torture/rpc/clusapi.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'source4/torture') 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; @@ -2337,6 +2342,10 @@ static bool test_one_group(struct torture_context *tctx, test_GetGroupState_int(tctx, p, &hGroup), "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"); -- cgit v1.2.1