Module: wine
Branch: master
Commit: 0e41777a44340006a25f207948001d6bc4ffb419
URL: https://gitlab.winehq.org/wine/wine/-/commit/0e41777a44340006a25f207948001d…
Author: Eric Pouech <eric.pouech(a)gmail.com>
Date: Tue Feb 21 17:34:57 2023 +0100
ntdll/tests: Use msinfo32.exe instead of notepad.exe.
Under Windows 11, notepad.exe has been migrated into the UWP framework,
and can no longer be launched as a 32bit process:
- even if c:\windows\syswow64\notepad.exe is still a 32 bit PE file
- the process created from c:\windows\syswow64\notepad.exe is not a
wow64 process.
So use msinfo32.exe instead. Like notepad.exe, it's a gui application,
present on Wine and all test-bot:ed windows platforms. But unlike
notepad.exe, it's not an UWP app on Windows 11.
Signed-off-by: Eric Pouech <eric.pouech(a)gmail.com>
---
dlls/ntdll/tests/exception.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/ntdll/tests/exception.c b/dlls/ntdll/tests/exception.c
index 90d90f3b64a..a70faef6676 100644
--- a/dlls/ntdll/tests/exception.c
+++ b/dlls/ntdll/tests/exception.c
@@ -8068,7 +8068,7 @@ static void test_debug_registers(void)
static void test_debug_registers_wow64(void)
{
- char cmdline[] = "C:\\windows\\syswow64\\notepad.exe";
+ char cmdline[] = "C:\\windows\\syswow64\\msinfo32.exe";
PROCESS_INFORMATION pi;
STARTUPINFOA si = {0};
WOW64_CONTEXT wow64_ctx;
Module: wine
Branch: master
Commit: de3ecada243b6cf5fc65afc89634142a8de76401
URL: https://gitlab.winehq.org/wine/wine/-/commit/de3ecada243b6cf5fc65afc8963414…
Author: Eric Pouech <eric.pouech(a)gmail.com>
Date: Tue Feb 21 17:34:55 2023 +0100
ntdll/tests: Use msinfo32.exe instead of notepad.exe.
Under Windows 11, notepad.exe has been migrated into the UWP framework,
and can no longer be launched as a 32bit process:
- even if c:\windows\syswow64\notepad.exe is still a 32 bit PE file
- the process created from c:\windows\syswow64\notepad.exe is not a
wow64 process.
So use msinfo32.exe instead. Like notepad.exe, it's a gui application,
present on Wine and all test-bot:ed windows platforms. But unlike
notepad.exe, it's not an UWP app on Windows 11.
Signed-off-by: Eric Pouech <eric.pouech(a)gmail.com>
---
dlls/ntdll/tests/wow64.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/ntdll/tests/wow64.c b/dlls/ntdll/tests/wow64.c
index b8f28f6215c..08660b608b4 100644
--- a/dlls/ntdll/tests/wow64.c
+++ b/dlls/ntdll/tests/wow64.c
@@ -244,7 +244,7 @@ static void test_peb_teb(void)
Wow64DisableWow64FsRedirection( &redir );
- if (CreateProcessA( "C:\\windows\\syswow64\\notepad.exe", NULL, NULL, NULL,
+ if (CreateProcessA( "C:\\windows\\syswow64\\msinfo32.exe", NULL, NULL, NULL,
FALSE, CREATE_SUSPENDED, NULL, NULL, &si, &pi ))
{
memset( &info, 0xcc, sizeof(info) );
@@ -344,7 +344,7 @@ static void test_peb_teb(void)
CloseHandle( pi.hThread );
}
- if (CreateProcessA( "C:\\windows\\system32\\notepad.exe", NULL, NULL, NULL,
+ if (CreateProcessA( "C:\\windows\\system32\\msinfo32.exe", NULL, NULL, NULL,
FALSE, CREATE_SUSPENDED, NULL, NULL, &si, &pi ))
{
memset( &info, 0xcc, sizeof(info) );