Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
98093939
Commit
98093939
authored
Sep 22, 2019
by
Francois Gouget
Committed by
Alexandre Julliard
Sep 23, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
>
parent
a4a1ba5a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
comm.c
dlls/kernel32/tests/comm.c
+1
-1
debugger.c
dlls/kernel32/tests/debugger.c
+1
-1
file.c
dlls/kernel32/tests/file.c
+1
-1
path.c
dlls/kernel32/tests/path.c
+2
-2
pipe.c
dlls/kernel32/tests/pipe.c
+1
-1
No files found.
dlls/kernel32/tests/comm.c
View file @
98093939
...
...
@@ -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 char
a
cters in OutQueue
\n
"
,
comstat
.
cbOutQue
);
ok
(
errors
==
0
,
"Unexpected errors 0x%08x
\n
"
,
errors
);
}
return
hcom
;
...
...
dlls/kernel32/tests/debugger.c
View file @
98093939
...
...
@@ -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
,
"CreateThr
e
ad failed
\n
"
);
CloseHandle
(
thread
);
}
...
...
dlls/kernel32/tests/file.c
View file @
98093939
...
...
@@ -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
,
"Unexpect
ed
error %u.
\n
"
,
GetLastError
());
ret
=
GetTempFileNameA
(
temp_path
,
prefix
,
0
,
file_name
);
ok
(
ret
,
"Unexpected error %u.
\n
"
,
GetLastError
());
...
...
dlls/kernel32/tests/path.c
View file @
98093939
...
...
@@ -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 t
h
est 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 lon
d
directory */
/* Check that SetCurrentDirectory fails for a nonexistent lon
g
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 */
...
...
dlls/kernel32/tests/pipe.c
View file @
98093939
...
...
@@ -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 par
t
ially 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
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment