s4-torture: fix copy/paste error in clusapi group test
authorGünther Deschner <gd@samba.org>
Thu, 16 Jan 2020 10:19:52 +0000 (11:19 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 16 Jan 2020 20:09:42 +0000 (20:09 +0000)
Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/torture/rpc/clusapi.c

index b0501399b49331998e06387c7f4a908c23529bd8..eb774228f384c397f1f26ceade5689af3f7dc4f4 100644 (file)
@@ -2325,17 +2325,17 @@ static bool test_OfflineGroup(struct torture_context *tctx,
 
 static bool test_one_group(struct torture_context *tctx,
                           struct dcerpc_pipe *p,
-                          const char *node_name)
+                          const char *group_name)
 {
        struct policy_handle hGroup;
 
        torture_assert(tctx,
-               test_OpenGroup_int(tctx, p, node_name, &hGroup),
+               test_OpenGroup_int(tctx, p, group_name, &hGroup),
                "failed to open group");
        test_CloseGroup_int(tctx, p, &hGroup);
 
        torture_assert(tctx,
-               test_OpenGroupEx_int(tctx, p, node_name, &hGroup),
+               test_OpenGroupEx_int(tctx, p, group_name, &hGroup),
                "failed to openex group");
 
        torture_assert(tctx,