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
ab23f87b
Commit
ab23f87b
authored
Jan 15, 2010
by
Andrew Nguyen
Committed by
Alexandre Julliard
Jan 18, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Re-enable a commented virtual memory test.
parent
bffdda5a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
info.c
dlls/ntdll/tests/info.c
+2
-6
No files found.
dlls/ntdll/tests/info.c
View file @
ab23f87b
...
...
@@ -878,14 +878,10 @@ static void test_readvirtualmemory(void)
ok
(
readcount
==
12
,
"Expected to read 12 bytes, got %ld
\n
"
,
readcount
);
ok
(
strcmp
(
teststring
,
buffer
)
==
0
,
"Expected read memory to be the same as original memory
\n
"
);
/* this test currently crashes wine with "wine client error:<process id>: read: Bad address"
* because the reply from wine server is directly read into the buffer and that fails with EFAULT
*/
/* illegal local address */
/*
status = pNtReadVirtualMemory(process, teststring, (void *)0x1234, 12, &readcount);
ok( status == STATUS_ACCESS_VIOLATION, "Expected STATUS_ACCESS_VIOLATION, got %08
l
x\n", status);
status
=
pNtReadVirtualMemory
(
process
,
teststring
,
(
void
*
)
0x1234
,
12
,
&
readcount
);
ok
(
status
==
STATUS_ACCESS_VIOLATION
,
"Expected STATUS_ACCESS_VIOLATION, got %08x
\n
"
,
status
);
ok
(
readcount
==
0
,
"Expected to read 0 bytes, got %ld
\n
"
,
readcount
);
*/
CloseHandle
(
process
);
}
...
...
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