diff options
author | Stefan Metzmacher <metze@samba.org> | 2019-09-10 12:33:34 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-09-10 17:38:40 +0000 |
commit | c6b48490ac68f23c9f172bdfa91954a960928795 (patch) | |
tree | cac391c2b78261d5fbd3b24bbd11e5c7d9e7625a /source4 | |
parent | f5a51061470dda55de04555f7e4dbd1058a1f3c4 (diff) | |
download | samba-c6b48490ac68f23c9f172bdfa91954a960928795.tar.gz |
s4:torture: always add ';' after torture_assert()
The next commit will require this.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/drs/rpc/msds_intid.c | 4 | ||||
-rw-r--r-- | source4/torture/rpc/samba3rpc.c | 2 | ||||
-rw-r--r-- | source4/torture/smb2/multichannel.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/source4/torture/drs/rpc/msds_intid.c b/source4/torture/drs/rpc/msds_intid.c index 1fb5c782bdf..4e840aa332f 100644 --- a/source4/torture/drs/rpc/msds_intid.c +++ b/source4/torture/drs/rpc/msds_intid.c @@ -600,13 +600,13 @@ static bool test_dsintid_schema(struct torture_context *tctx, struct DsIntIdTest la->attid == dsdb_attr->attributeID_id, _make_error_message(ctx, la->attid, dsdb_attr, - la->identifier)) + la->identifier)); if (dsdb_attr->msDS_IntId) { torture_assert(tctx, la->attid != dsdb_attr->msDS_IntId, _make_error_message(ctx, la->attid, dsdb_attr, - la->identifier)) + la->identifier)); } } diff --git a/source4/torture/rpc/samba3rpc.c b/source4/torture/rpc/samba3rpc.c index d55d6c47b57..83b2107e9fc 100644 --- a/source4/torture/rpc/samba3rpc.c +++ b/source4/torture/rpc/samba3rpc.c @@ -2517,7 +2517,7 @@ static bool torture_samba3_rpc_sharesec(struct torture_context *torture) torture, torture, sd, cli->session, torture_setting_string(torture, "share", NULL), user_sid, SEC_FILE_ALL, NT_STATUS_OK, NT_STATUS_OK), - "failed to test tcon with SEC_FILE_ALL access_mask") + "failed to test tcon with SEC_FILE_ALL access_mask"); return true; } diff --git a/source4/torture/smb2/multichannel.c b/source4/torture/smb2/multichannel.c index 6fc94dd2b8c..4e532d23468 100644 --- a/source4/torture/smb2/multichannel.c +++ b/source4/torture/smb2/multichannel.c @@ -722,7 +722,7 @@ static bool test_multichannel_oplock_break_test2(struct torture_context *tctx, credentials, &transport2_options, &tree2A, &tree2B, &tree2C); - torture_assert(tctx, ret, "Could not create channels.\n") + torture_assert(tctx, ret, "Could not create channels.\n"); torture_comment(tctx, "client2 opens fname1 via session 2A\n"); io1.in.oplock_level = smb2_util_oplock_level("b"); |