s4:torture: always add ';' after torture_assert()
authorStefan Metzmacher <metze@samba.org>
Tue, 10 Sep 2019 10:33:34 +0000 (12:33 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 10 Sep 2019 17:38:40 +0000 (17:38 +0000)
The next commit will require this.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/torture/drs/rpc/msds_intid.c
source4/torture/rpc/samba3rpc.c
source4/torture/smb2/multichannel.c

index 1fb5c782bdf3e396530415f23f33b430fda9f7cb..4e840aa332f45e9aca172c0b5c319145b4d94283 100644 (file)
@@ -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));
                }
        }
 
index d55d6c47b57af226b0cf1cece804245d8e30fb04..83b2107e9fc5c00adfa309b7716f2a831ba7d5bd 100644 (file)
@@ -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;
 }
index 6fc94dd2b8caca9d89f6ce9aa98aa495f03dc04c..4e532d23468efcceba05fc381487ff2b37512e91 100644 (file)
@@ -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");