Fix spelling s/processs/process/
authorMathieu Parent <math.parent@gmail.com>
Fri, 4 May 2018 20:22:38 +0000 (22:22 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 12 May 2018 00:09:27 +0000 (02:09 +0200)
Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
source3/torture/torture.c
source4/torture/basic/locking.c

index 47da8178e8bc64e0a3b439ec2fd1639906f3482d..2bc6ff712ce3a7e8ed2715b5efda137ce1f4c265 100644 (file)
@@ -2159,7 +2159,7 @@ static bool run_locktest5(int dummy)
        ret = NT_STATUS_IS_OK(status);
        EXPECTED(ret, False);
 
-       printf("a different processs %s get a read lock on the first process lock stack\n", ret?"can":"cannot");
+       printf("a different process %s get a read lock on the first process lock stack\n", ret?"can":"cannot");
 
        /* Unlock the process 2 lock. */
        cli_unlock(cli2, fnum2, 0, 4);
@@ -2168,7 +2168,7 @@ static bool run_locktest5(int dummy)
        ret = NT_STATUS_IS_OK(status);
        EXPECTED(ret, False);
 
-       printf("the same processs on a different fnum %s get a read lock\n", ret?"can":"cannot");
+       printf("the same process on a different fnum %s get a read lock\n", ret?"can":"cannot");
 
        /* Unlock the process 1 fnum3 lock. */
        cli_unlock(cli1, fnum3, 0, 4);
@@ -2211,7 +2211,7 @@ static bool run_locktest5(int dummy)
        ret = NT_STATUS_IS_OK(status);
        EXPECTED(ret, True);
 
-       printf("a different processs %s get a write lock on the unlocked stack\n", ret?"can":"cannot");
+       printf("a different process %s get a write lock on the unlocked stack\n", ret?"can":"cannot");
 
 
  fail:
index 98def5c09c185b1d5e1b08077a99b0791dd14952..e0e2971c9ad41ec0f7e9a7a644cc5d55de2b08fd 100644 (file)
@@ -567,7 +567,7 @@ static bool torture_locktest5(struct torture_context *tctx, struct smbcli_state
        ret = NT_STATUS_IS_OK(smbcli_lock(cli2->tree, fnum2, 0, 4, 0, READ_LOCK));
        EXPECTED(ret, false);
 
-       torture_comment(tctx, "a different processs %s get a read lock on the first process lock stack\n", ret?"can":"cannot");
+       torture_comment(tctx, "a different process %s get a read lock on the first process lock stack\n", ret?"can":"cannot");
 
        /* Unlock the process 2 lock. */
        smbcli_unlock(cli2->tree, fnum2, 0, 4);
@@ -575,7 +575,7 @@ static bool torture_locktest5(struct torture_context *tctx, struct smbcli_state
        ret = NT_STATUS_IS_OK(smbcli_lock(cli1->tree, fnum3, 0, 4, 0, READ_LOCK));
        EXPECTED(ret, false);
 
-       torture_comment(tctx, "the same processs on a different fnum %s get a read lock\n", ret?"can":"cannot");
+       torture_comment(tctx, "the same process on a different fnum %s get a read lock\n", ret?"can":"cannot");
 
        /* Unlock the process 1 fnum3 lock. */
        smbcli_unlock(cli1->tree, fnum3, 0, 4);
@@ -617,7 +617,7 @@ ret = NT_STATUS_IS_OK(smbcli_unlock(cli1->tree, fnum1, 0, 4)) &&
        ret = NT_STATUS_IS_OK(smbcli_lock(cli2->tree, fnum2, 0, 4, 0, WRITE_LOCK));
        EXPECTED(ret, true);
 
-       torture_comment(tctx, "a different processs %s get a write lock on the unlocked stack\n", ret?"can":"cannot");
+       torture_comment(tctx, "a different process %s get a write lock on the unlocked stack\n", ret?"can":"cannot");
 
 
        torture_assert_ntstatus_ok(tctx, smbcli_close(cli1->tree, fnum1),