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
eb5ff502
Commit
eb5ff502
authored
Apr 02, 2021
by
Zebediah Figura
Committed by
Alexandre Julliard
Apr 02, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl/tests: Skip all tests under WoW64.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f0230286
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
ntoskrnl.c
dlls/ntoskrnl.exe/tests/ntoskrnl.c
+9
-1
No files found.
dlls/ntoskrnl.exe/tests/ntoskrnl.c
View file @
eb5ff502
...
@@ -43,6 +43,7 @@ static HANDLE device;
...
@@ -43,6 +43,7 @@ static HANDLE device;
static
BOOL
(
WINAPI
*
pRtlDosPathNameToNtPathName_U
)(
const
WCHAR
*
,
UNICODE_STRING
*
,
WCHAR
**
,
CURDIR
*
);
static
BOOL
(
WINAPI
*
pRtlDosPathNameToNtPathName_U
)(
const
WCHAR
*
,
UNICODE_STRING
*
,
WCHAR
**
,
CURDIR
*
);
static
BOOL
(
WINAPI
*
pRtlFreeUnicodeString
)(
UNICODE_STRING
*
);
static
BOOL
(
WINAPI
*
pRtlFreeUnicodeString
)(
UNICODE_STRING
*
);
static
BOOL
(
WINAPI
*
pCancelIoEx
)(
HANDLE
,
OVERLAPPED
*
);
static
BOOL
(
WINAPI
*
pCancelIoEx
)(
HANDLE
,
OVERLAPPED
*
);
static
BOOL
(
WINAPI
*
pIsWow64Process
)(
HANDLE
,
BOOL
*
);
static
BOOL
(
WINAPI
*
pSetFileCompletionNotificationModes
)(
HANDLE
,
UCHAR
);
static
BOOL
(
WINAPI
*
pSetFileCompletionNotificationModes
)(
HANDLE
,
UCHAR
);
static
HRESULT
(
WINAPI
*
pSignerSign
)(
SIGNER_SUBJECT_INFO
*
subject
,
SIGNER_CERT
*
cert
,
static
HRESULT
(
WINAPI
*
pSignerSign
)(
SIGNER_SUBJECT_INFO
*
subject
,
SIGNER_CERT
*
cert
,
SIGNER_SIGNATURE_INFO
*
signature
,
SIGNER_PROVIDER_INFO
*
provider
,
SIGNER_SIGNATURE_INFO
*
signature
,
SIGNER_PROVIDER_INFO
*
provider
,
...
@@ -939,16 +940,23 @@ START_TEST(ntoskrnl)
...
@@ -939,16 +940,23 @@ START_TEST(ntoskrnl)
WCHAR
filename
[
MAX_PATH
],
filename2
[
MAX_PATH
];
WCHAR
filename
[
MAX_PATH
],
filename2
[
MAX_PATH
];
struct
testsign_context
ctx
;
struct
testsign_context
ctx
;
SC_HANDLE
service
,
service2
;
SC_HANDLE
service
,
service2
;
BOOL
ret
,
is_wow64
;
DWORD
written
;
DWORD
written
;
BOOL
ret
;
pRtlDosPathNameToNtPathName_U
=
(
void
*
)
GetProcAddress
(
GetModuleHandleA
(
"ntdll"
),
"RtlDosPathNameToNtPathName_U"
);
pRtlDosPathNameToNtPathName_U
=
(
void
*
)
GetProcAddress
(
GetModuleHandleA
(
"ntdll"
),
"RtlDosPathNameToNtPathName_U"
);
pRtlFreeUnicodeString
=
(
void
*
)
GetProcAddress
(
GetModuleHandleA
(
"ntdll"
),
"RtlFreeUnicodeString"
);
pRtlFreeUnicodeString
=
(
void
*
)
GetProcAddress
(
GetModuleHandleA
(
"ntdll"
),
"RtlFreeUnicodeString"
);
pCancelIoEx
=
(
void
*
)
GetProcAddress
(
GetModuleHandleA
(
"kernel32.dll"
),
"CancelIoEx"
);
pCancelIoEx
=
(
void
*
)
GetProcAddress
(
GetModuleHandleA
(
"kernel32.dll"
),
"CancelIoEx"
);
pIsWow64Process
=
(
void
*
)
GetProcAddress
(
GetModuleHandleA
(
"kernel32.dll"
),
"IsWow64Process"
);
pSetFileCompletionNotificationModes
=
(
void
*
)
GetProcAddress
(
GetModuleHandleA
(
"kernel32.dll"
),
pSetFileCompletionNotificationModes
=
(
void
*
)
GetProcAddress
(
GetModuleHandleA
(
"kernel32.dll"
),
"SetFileCompletionNotificationModes"
);
"SetFileCompletionNotificationModes"
);
pSignerSign
=
(
void
*
)
GetProcAddress
(
LoadLibraryA
(
"mssign32"
),
"SignerSign"
);
pSignerSign
=
(
void
*
)
GetProcAddress
(
LoadLibraryA
(
"mssign32"
),
"SignerSign"
);
if
(
IsWow64Process
(
GetCurrentProcess
(),
&
is_wow64
)
&&
is_wow64
)
{
skip
(
"Running in WoW64.
\n
"
);
return
;
}
if
(
!
testsign_create_cert
(
&
ctx
))
if
(
!
testsign_create_cert
(
&
ctx
))
return
;
return
;
...
...
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