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
98fdb660
Commit
98fdb660
authored
Aug 24, 2009
by
Ge van Geldorp
Committed by
Alexandre Julliard
Aug 24, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Add acceptable status codes for Win7.
parent
4bc7a3eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
om.c
dlls/ntdll/tests/om.c
+4
-4
No files found.
dlls/ntdll/tests/om.c
View file @
98fdb660
...
...
@@ -63,8 +63,8 @@ static void test_case_sensitive (void)
ok
(
status
==
STATUS_SUCCESS
,
"Failed to create Mutant(%08x)
\n
"
,
status
);
status
=
pNtCreateEvent
(
&
Event
,
GENERIC_ALL
,
&
attr
,
FALSE
,
FALSE
);
ok
(
status
==
STATUS_OBJECT_NAME_COLLISION
,
"NtCreateEvent should have failed with STATUS_OBJECT_NAME_COLLISION
got
(%08x)
\n
"
,
status
);
ok
(
status
==
STATUS_OBJECT_NAME_COLLISION
||
status
==
STATUS_OBJECT_TYPE_MISMATCH
,
"NtCreateEvent should have failed with STATUS_OBJECT_NAME_COLLISION
or STATUS_OBJECT_TYPE_MISMATCH got
(%08x)
\n
"
,
status
);
pRtlInitUnicodeString
(
&
str
,
buffer2
);
InitializeObjectAttributes
(
&
attr
,
&
str
,
0
,
0
,
NULL
);
...
...
@@ -82,8 +82,8 @@ static void test_case_sensitive (void)
pRtlInitUnicodeString
(
&
str
,
buffer4
);
InitializeObjectAttributes
(
&
attr
,
&
str
,
OBJ_CASE_INSENSITIVE
,
0
,
NULL
);
status
=
pNtCreateMutant
(
&
Mutant
,
GENERIC_ALL
,
&
attr
,
FALSE
);
ok
(
status
==
STATUS_OBJECT_NAME_COLLISION
,
"NtCreateMutant should have failed with STATUS_OBJECT_NAME_COLLISION
got
(%08x)
\n
"
,
status
);
ok
(
status
==
STATUS_OBJECT_NAME_COLLISION
||
status
==
STATUS_OBJECT_TYPE_MISMATCH
,
"NtCreateMutant should have failed with STATUS_OBJECT_NAME_COLLISION
or STATUS_OBJECT_TYPE_MISMATCH got
(%08x)
\n
"
,
status
);
status
=
pNtCreateEvent
(
&
h
,
GENERIC_ALL
,
&
attr
,
FALSE
,
FALSE
);
ok
(
status
==
STATUS_OBJECT_NAME_COLLISION
,
...
...
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