]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:torture:basic: Fix code spelling
authorAndreas Schneider <asn@samba.org>
Thu, 3 Aug 2023 13:41:02 +0000 (15:41 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 14 Aug 2023 21:45:30 +0000 (21:45 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/torture/basic/delaywrite.c
source4/torture/basic/delete.c
source4/torture/basic/denytest.c
source4/torture/basic/misc.c

index e36481d4a4964f0881c3bb73ea1c90205286d42d..b9d4a069aa77aa2b882a14b7da841857ba479894 100644 (file)
@@ -1439,7 +1439,7 @@ static bool test_delayed_write_update3(struct torture_context *tctx,
 
        /*
         * make sure the write time is updated 2 seconds later
-        * calcuated from the first write
+        * calculated from the first write
         * (but expect up to 5 seconds extra time for a busy server)
         */
        start = timeval_current();
@@ -1601,7 +1601,7 @@ static bool test_delayed_write_update3a(struct torture_context *tctx,
 
        /*
         * make sure the write time is updated 2 seconds later
-        * calcuated from the first write
+        * calculated from the first write
         * (but expect up to 5 seconds extra time for a busy server)
         */
        start = timeval_current();
@@ -1812,7 +1812,7 @@ static bool test_delayed_write_update3b(struct torture_context *tctx,
 
        /*
         * make sure the write time is updated 2 seconds later
-        * calcuated from the first write
+        * calculated from the first write
         * (but expect up to 5 seconds extra time for a busy server)
         */
        start = timeval_current();
@@ -2187,7 +2187,7 @@ static bool test_delayed_write_update4(struct torture_context *tctx,
 
        /*
         * make sure the write time is updated 2 seconds later
-        * calcuated from the first write
+        * calculated from the first write
         * (but expect up to 3 seconds extra time for a busy server)
         */
        start = timeval_current();
index 9a753e57e9d5e2748f77e4b4bf4734de37970c62..647f5e03634cccfa174cd398cf22a8b6133dff86 100644 (file)
@@ -2232,7 +2232,7 @@ static bool deltest21(struct torture_context *tctx)
        }
 
        /* On slow build farm machines it might happen that they are not fast
-        * enogh to delete the file for this test */
+        * enough to delete the file for this test */
        smb_msleep(200);
 
        /* File should not be there. */
index 5fa9f6b70605a23786058616cfd97449f0c1e4ac..c9f4a97743e25263bf14eb2dbd7d3a116fd9a32b 100644 (file)
@@ -1503,7 +1503,7 @@ failed:
                smbcli_unlink(cli1->tree, fnames[i]);
        }
                
-       torture_comment(tctx, "finshed denytest1 (%d failures)\n", failures);
+       torture_comment(tctx, "finished denytest1 (%d failures)\n", failures);
        return correct;
 }
 
@@ -1600,7 +1600,7 @@ failed:
                smbcli_unlink(cli1->tree, fnames[i]);
        }
 
-       torture_comment(tctx, "finshed denytest2 (%d failures)\n", failures);
+       torture_comment(tctx, "finished denytest2 (%d failures)\n", failures);
        return correct;
 }
 
@@ -1899,7 +1899,7 @@ static bool torture_ntdenytest(struct torture_context *tctx,
 failed:
        smbcli_unlink(cli1->tree, fname);
        
-       torture_comment(tctx, "finshed ntdenytest (%d failures)\n", failures);
+       torture_comment(tctx, "finished ntdenytest (%d failures)\n", failures);
        return correct;
 }
 
index 2d99f2a11e5d2ad55435def68f0f5268823d681c..c4df8744cb7224f577a943937d1b6fcd07c968f0 100644 (file)
@@ -641,7 +641,7 @@ static NTSTATUS benchrw_readwrite(struct torture_context *tctx,
                if(state->readcnt < state->lpcfg_params->writeblocks){
                        state->readcnt++;       
                }else{
-                       /*start reading from beginn of file*/
+                       /*start reading from begin of file*/
                        state->readcnt=0;
                }
                req = smb_raw_read_send(state->cli,&rd);
@@ -856,7 +856,7 @@ static void async_open_callback(struct composite_context *con)
 }
 
 /*
- establishs a smbcli_tree from scratch (async)
+ establishes a smbcli_tree from scratch (async)
 */
 static struct composite_context *torture_connect_async(
                                struct torture_context *tctx,