Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
9cad1cc8
Commit
9cad1cc8
authored
Dec 02, 2015
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Use more reasonable timeouts and avoid long long constants.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
197f708b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
pipe.c
dlls/ntdll/tests/pipe.c
+3
-3
No files found.
dlls/ntdll/tests/pipe.c
View file @
9cad1cc8
...
...
@@ -126,7 +126,7 @@ static NTSTATUS create_pipe(PHANDLE handle, ULONG sharing, ULONG options)
attr
.
SecurityDescriptor
=
NULL
;
attr
.
SecurityQualityOfService
=
NULL
;
timeout
.
QuadPart
=
-
100000000
000ll
;
timeout
.
QuadPart
=
-
100000000
;
res
=
pNtCreateNamedPipeFile
(
handle
,
FILE_READ_ATTRIBUTES
|
SYNCHRONIZE
,
&
attr
,
&
iosb
,
sharing
,
2
/*FILE_CREATE*/
,
options
,
1
,
0
,
0
,
0xFFFFFFFF
,
500
,
500
,
&
timeout
);
...
...
@@ -152,7 +152,7 @@ static void test_create_invalid(void)
attr
.
SecurityDescriptor
=
NULL
;
attr
.
SecurityQualityOfService
=
NULL
;
timeout
.
QuadPart
=
-
100000000
000ll
;
timeout
.
QuadPart
=
-
100000000
;
/* create a pipe with FILE_OVERWRITE */
res
=
pNtCreateNamedPipeFile
(
&
handle
,
FILE_READ_ATTRIBUTES
|
SYNCHRONIZE
,
&
attr
,
&
iosb
,
FILE_SHARE_READ
,
4
/*FILE_OVERWRITE*/
,
...
...
@@ -521,7 +521,7 @@ static void test_filepipeinfo(void)
attr
.
SecurityDescriptor
=
NULL
;
attr
.
SecurityQualityOfService
=
NULL
;
timeout
.
QuadPart
=
-
100000000
000ll
;
timeout
.
QuadPart
=
-
100000000
;
/* test with INVALID_HANDLE_VALUE */
res
=
pNtQueryInformationFile
(
INVALID_HANDLE_VALUE
,
&
iosb
,
&
fpi
,
sizeof
(
fpi
),
(
FILE_INFORMATION_CLASS
)
23
);
...
...
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