diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-04-11 01:39:06 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-04-11 20:57:33 +0200 |
commit | 7da94cc4a664521be279b019e9f32121cd410193 (patch) | |
tree | 3aa0c65387e4415effb4de9d0d3d5873605c016f /source4/torture/libnetapi/libnetapi_group.c | |
parent | d0ab7440acf57f698290c2ba64650c6144bc8545 (diff) | |
download | samba-7da94cc4a664521be279b019e9f32121cd410193.tar.gz samba-7da94cc4a664521be279b019e9f32121cd410193.tar.bz2 samba-7da94cc4a664521be279b019e9f32121cd410193.zip |
subunit: Support formatting compatible with upstream subunit, for consistency.
Upstream subunit makes a ":" after commands optional, so I've fixed any
places where we might trigger commands accidently. I've filed a bug
about this in subunit.
Diffstat (limited to 'source4/torture/libnetapi/libnetapi_group.c')
-rw-r--r-- | source4/torture/libnetapi/libnetapi_group.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/source4/torture/libnetapi/libnetapi_group.c b/source4/torture/libnetapi/libnetapi_group.c index e8e5ad931a..6f1428dbcf 100644 --- a/source4/torture/libnetapi/libnetapi_group.c +++ b/source4/torture/libnetapi/libnetapi_group.c @@ -51,7 +51,7 @@ static NET_API_STATUS test_netgroupenum(struct torture_context *tctx, struct GROUP_INFO_2 *info2 = NULL; struct GROUP_INFO_3 *info3 = NULL; - torture_comment(tctx, "testing NetGroupEnum level %d\n", level); + torture_comment(tctx, "Testing NetGroupEnum level %d\n", level); do { status = NetGroupEnum(hostname, @@ -151,7 +151,7 @@ static NET_API_STATUS test_netgroupgetusers(struct torture_context *tctx, struct GROUP_USERS_INFO_0 *info0 = NULL; struct GROUP_USERS_INFO_1 *info1 = NULL; - torture_comment(tctx, "testing NetGroupGetUsers level %d\n", level); + torture_comment(tctx, "Testing NetGroupGetUsers level %d\n", level); do { status = NetGroupGetUsers(hostname, @@ -230,7 +230,7 @@ static NET_API_STATUS test_netgroupsetusers(struct torture_context *tctx, struct GROUP_USERS_INFO_0 *g0 = NULL; struct GROUP_USERS_INFO_1 *g1 = NULL; - torture_comment(tctx, "testing NetGroupSetUsers level %d\n", level); + torture_comment(tctx, "Testing NetGroupSetUsers level %d\n", level); switch (level) { case 0: @@ -313,7 +313,7 @@ bool torture_libnetapi_group(struct torture_context *tctx) g0.grpi0_name = groupname; - torture_comment(tctx, "testing NetGroupAdd\n"); + torture_comment(tctx, "Testing NetGroupAdd\n"); status = NetGroupAdd(hostname, 0, (uint8_t *)&g0, &parm_err); if (status) { @@ -345,7 +345,7 @@ bool torture_libnetapi_group(struct torture_context *tctx) for (i=0; i<ARRAY_SIZE(levels); i++) { - torture_comment(tctx, "testing NetGroupGetInfo level %d\n", levels[i]); + torture_comment(tctx, "Testing NetGroupGetInfo level %d\n", levels[i]); status = NetGroupGetInfo(hostname, groupname, levels[i], &buffer); if (status && status != 124) { @@ -358,7 +358,7 @@ bool torture_libnetapi_group(struct torture_context *tctx) g0.grpi0_name = groupname2; - torture_comment(tctx, "testing NetGroupSetInfo level 0\n"); + torture_comment(tctx, "Testing NetGroupSetInfo level 0\n"); status = NetGroupSetInfo(hostname, groupname, 0, (uint8_t *)&g0, &parm_err); switch (status) { @@ -412,7 +412,7 @@ bool torture_libnetapi_group(struct torture_context *tctx) } } - torture_comment(tctx, "testing NetGroupAddUser\n"); + torture_comment(tctx, "Testing NetGroupAddUser\n"); status = NetGroupAddUser(hostname, groupname2, username); if (status) { @@ -431,7 +431,7 @@ bool torture_libnetapi_group(struct torture_context *tctx) } } - torture_comment(tctx, "testing NetGroupDelUser\n"); + torture_comment(tctx, "Testing NetGroupDelUser\n"); status = NetGroupDelUser(hostname, groupname2, username); if (status) { @@ -487,7 +487,7 @@ bool torture_libnetapi_group(struct torture_context *tctx) /* delete */ - torture_comment(tctx, "testing NetGroupDel\n"); + torture_comment(tctx, "Testing NetGroupDel\n"); status = NetGroupDel(hostname, groupname2); if (status) { |