kernel32/tests: Fix the spelling of three ok() messages and comments.
Signed-off-by: Francois Gouget <fgouget@free.fr> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a4a1ba5a22
commit
98093939d6
|
@ -725,7 +725,7 @@ static HANDLE test_OpenComm(BOOL doOverlap)
|
|||
|
||||
ok(ret, "Unexpected error %u on open\n", GetLastError());
|
||||
ok(comstat.cbInQue == 0, "Unexpected %d chars in InQueue\n",comstat.cbInQue);
|
||||
ok(comstat.cbOutQue == 0, "Still pending %d charcters in OutQueue\n", comstat.cbOutQue);
|
||||
ok(comstat.cbOutQue == 0, "Still pending %d characters in OutQueue\n", comstat.cbOutQue);
|
||||
ok(errors == 0, "Unexpected errors 0x%08x\n", errors);
|
||||
}
|
||||
return hcom;
|
||||
|
|
|
@ -170,7 +170,7 @@ static void run_background_thread(void)
|
|||
{
|
||||
DWORD tid;
|
||||
HANDLE thread = CreateThread(NULL, 0, thread_proc, NULL, 0, &tid);
|
||||
ok(thread != NULL, "CreateThrad failed\n");
|
||||
ok(thread != NULL, "CreateThread failed\n");
|
||||
CloseHandle(thread);
|
||||
}
|
||||
|
||||
|
|
|
@ -5229,7 +5229,7 @@ static void test_overlapped_read(void)
|
|||
DWORD ret;
|
||||
|
||||
ret = GetTempPathA(MAX_PATH, temp_path);
|
||||
ok(ret, "Unexpect error %u.\n", GetLastError());
|
||||
ok(ret, "Unexpected error %u.\n", GetLastError());
|
||||
ret = GetTempFileNameA(temp_path, prefix, 0, file_name);
|
||||
ok(ret, "Unexpected error %u.\n", GetLastError());
|
||||
|
||||
|
|
|
@ -309,7 +309,7 @@ static void test_setdir(CHAR *olddir,CHAR *newdir,
|
|||
ok(SetCurrentDirectoryA(olddir),
|
||||
"%s: Couldn't set directory to its original value\n",errstr);
|
||||
} else {
|
||||
/* else thest that it fails correctly */
|
||||
/* else test that it fails correctly */
|
||||
chklen=lstrlenA(olddir);
|
||||
ok(val==0,
|
||||
"%s: SetCurrentDirectoryA passed when it should have failed\n",errstr);
|
||||
|
@ -517,7 +517,7 @@ static void test_CurrentDirectoryA(CHAR *origdir, CHAR *newdir)
|
|||
/* Check that SetCurrentDirectory fails when a nonexistent dir is specified */
|
||||
sprintf(tmpstr,"%s\\%s\\%s",newdir,SHORTDIR,NONDIR_SHORT);
|
||||
test_setdir(newdir,tmpstr,NULL,0,"check 3");
|
||||
/* Check that SetCurrentDirectory fails for a nonexistent lond directory */
|
||||
/* Check that SetCurrentDirectory fails for a nonexistent long directory */
|
||||
sprintf(tmpstr,"%s\\%s\\%s",newdir,SHORTDIR,NONDIR_LONG);
|
||||
test_setdir(newdir,tmpstr,NULL,0,"check 4");
|
||||
/* Check that SetCurrentDirectory passes with a long directory */
|
||||
|
|
|
@ -3071,7 +3071,7 @@ static void test_blocking_rw(HANDLE writer, HANDLE reader, DWORD buf_size, BOOL
|
|||
test_overlapped_result(writer, &write_overlapped2, 1, FALSE);
|
||||
test_peek_pipe(reader, 0, 0, 0);
|
||||
|
||||
/* same as above, but parially read written data before canceling */
|
||||
/* same as above, but partially read written data before canceling */
|
||||
overlapped_write_async(writer, buf, buf_size+2000, &write_overlapped);
|
||||
overlapped_write_async(writer, buf, 1, &write_overlapped2);
|
||||
test_peek_pipe(reader, buf_size + 2000 + (msg_mode ? 0 : 1),
|
||||
|
|
Loading…
Reference in New Issue