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
d3dfed51
Commit
d3dfed51
authored
Sep 01, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Remove tests for the exact value of the stack pointer.
Stack pointer is randomized on Windows.
parent
620306ff
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
7 deletions
+0
-7
process.c
dlls/kernel32/tests/process.c
+0
-4
thread.c
dlls/kernel32/tests/thread.c
+0
-3
No files found.
dlls/kernel32/tests/process.c
View file @
d3dfed51
...
...
@@ -3276,8 +3276,6 @@ static void test_SuspendProcessNewThread(void)
}
ok
(
ctx
.
Eax
==
(
ULONG_PTR
)
exit_thread_ptr
,
"wrong eax %08lx/%p
\n
"
,
ctx
.
Eax
,
exit_thread_ptr
);
ok
(
ctx
.
Ebx
==
0x1234
,
"wrong ebx %08lx
\n
"
,
ctx
.
Ebx
);
ok
(
!
((
ctx
.
Esp
+
0x10
)
&
0xfff
)
||
broken
(
!
((
ctx
.
Esp
+
4
)
&
0xfff
)
),
/* winxp, w2k3 */
"esp is not at top of stack page or properly aligned: %08lx
\n
"
,
ctx
.
Esp
);
ok
(
(
ctx
.
EFlags
&
~
2
)
==
0x200
,
"wrong flags %08lx
\n
"
,
ctx
.
EFlags
);
ok
(
(
WORD
)
ctx
.
FloatSave
.
ControlWord
==
0x27f
,
"wrong control %08lx
\n
"
,
ctx
.
FloatSave
.
ControlWord
);
ok
(
*
(
WORD
*
)
ctx
.
ExtendedRegisters
==
0x27f
,
"wrong control %08x
\n
"
,
*
(
WORD
*
)
ctx
.
ExtendedRegisters
);
...
...
@@ -3442,8 +3440,6 @@ static void test_SuspendProcessState(void)
ok
(
!
ctx
.
Esi
,
"esi is not zero %08lx
\n
"
,
ctx
.
Esi
);
ok
(
!
ctx
.
Edi
,
"edi is not zero %08lx
\n
"
,
ctx
.
Edi
);
}
ok
(
!
((
ctx
.
Esp
+
0x10
)
&
0xfff
)
||
broken
(
!
((
ctx
.
Esp
+
4
)
&
0xfff
)
),
/* winxp, w2k3 */
"esp is not at top of stack page or properly aligned: %08lx
\n
"
,
ctx
.
Esp
);
ok
(
(
ctx
.
EFlags
&
~
2
)
==
0x200
,
"wrong flags %08lx
\n
"
,
ctx
.
EFlags
);
ok
(
(
WORD
)
ctx
.
FloatSave
.
ControlWord
==
0x27f
,
"wrong control %08lx
\n
"
,
ctx
.
FloatSave
.
ControlWord
);
ok
(
*
(
WORD
*
)
ctx
.
ExtendedRegisters
==
0x27f
,
"wrong control %08x
\n
"
,
*
(
WORD
*
)
ctx
.
ExtendedRegisters
);
...
...
dlls/kernel32/tests/thread.c
View file @
d3dfed51
...
...
@@ -1187,9 +1187,6 @@ static DWORD WINAPI test_stack( void *arg )
ok
(
stack
==
NtCurrentTeb
()
->
Tib
.
StackBase
,
"wrong stack %p/%p
\n
"
,
stack
,
NtCurrentTeb
()
->
Tib
.
StackBase
);
ok
(
!
stack
[
-
1
],
"wrong data %p = %08lx
\n
"
,
stack
-
1
,
stack
[
-
1
]
);
ok
(
stack
[
-
2
]
==
(
DWORD
)
arg
,
"wrong data %p = %08lx
\n
"
,
stack
-
2
,
stack
[
-
2
]
);
ok
(
stack
[
-
3
]
==
(
DWORD
)
test_stack
,
"wrong data %p = %08lx
\n
"
,
stack
-
3
,
stack
[
-
3
]
);
ok
(
!
stack
[
-
4
],
"wrong data %p = %08lx
\n
"
,
stack
-
4
,
stack
[
-
4
]
);
return
0
;
}
...
...
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