1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

s4:torture:basic: Fix code spelling

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Andreas Schneider 2023-08-03 15:41:02 +02:00 committed by Andrew Bartlett
parent 69b7876965
commit 5850ea6338
4 changed files with 10 additions and 10 deletions

View 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();

View 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. */

View 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;
}

View 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,