Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexey Alyaev
wine
Commits
7eb81fab
Commit
7eb81fab
authored
19 years ago
by
Felix Nawothnig
Committed by
Alexandre Julliard
19 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix comm tests on Win9x.
parent
828fd75a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/kernel/tests/comm.c
+2
-1
2 additions, 1 deletion
dlls/kernel/tests/comm.c
with
2 additions
and
1 deletion
dlls/kernel/tests/comm.c
+
2
−
1
View file @
7eb81fab
...
...
@@ -713,11 +713,12 @@ static void test_ReadTimeOut(HANDLE hcom)
ok
(
SetCommTimeouts
(
hcom
,
&
timeouts
),
"SetCommTimeouts failed
\n
"
);
before
=
GetTickCount
();
SetLastError
(
0xdeadbeef
);
res
=
ReadFile
(
hcom
,
rbuf
,
sizeof
(
rbuf
),
&
read
,
NULL
);
LastError
=
GetLastError
();
after
=
GetTickCount
();
todo_wine
ok
(
res
==
TRUE
,
"A timed-out read should return TRUE
\n
"
);
todo_wine
ok
(
LastError
==
NO_ERROR
,
"A timed-out read is not an e
rror
\n
"
);
todo_wine
ok
(
LastError
==
0xdeadbeef
,
"err=%ld
\n
"
,
LastE
rror
);
timediff
=
after
-
before
;
ok
(
timediff
>
TIMEOUT
>>
2
&&
timediff
<
TIMEOUT
*
2
,
"Unexpected TimeOut %ld, expected %d
\n
"
,
timediff
,
TIMEOUT
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment