From: Andreas Schneider Date: Thu, 3 Aug 2023 13:41:02 +0000 (+0200) Subject: s4:torture:basic: Fix code spelling X-Git-Tag: tevent-0.16.0~925 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5850ea6338657e029c4c080b8ebb6e09f8356377;p=thirdparty%2Fsamba.git s4:torture:basic: Fix code spelling Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlett --- diff --git a/source4/torture/basic/delaywrite.c b/source4/torture/basic/delaywrite.c index e36481d4a49..b9d4a069aa7 100644 --- a/source4/torture/basic/delaywrite.c +++ b/source4/torture/basic/delaywrite.c @@ -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(); diff --git a/source4/torture/basic/delete.c b/source4/torture/basic/delete.c index 9a753e57e9d..647f5e03634 100644 --- a/source4/torture/basic/delete.c +++ b/source4/torture/basic/delete.c @@ -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. */ diff --git a/source4/torture/basic/denytest.c b/source4/torture/basic/denytest.c index 5fa9f6b7060..c9f4a97743e 100644 --- a/source4/torture/basic/denytest.c +++ b/source4/torture/basic/denytest.c @@ -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; } diff --git a/source4/torture/basic/misc.c b/source4/torture/basic/misc.c index 2d99f2a11e5..c4df8744cb7 100644 --- a/source4/torture/basic/misc.c +++ b/source4/torture/basic/misc.c @@ -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,