Module: wine
Branch: master
Commit: a1adaaca2768708f5158b82d7a7edaf69124783e
URL: https://gitlab.winehq.org/wine/wine/-/commit/a1adaaca2768708f5158b82d7a7eda…
Author: Sven Baars <sbaars(a)codeweavers.com>
Date: Sat Dec 23 14:17:35 2023 +0100
advapi32/tests: Skip WoW64 tests on 32-bit in test_reg_create_key.
Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=54613
---
dlls/advapi32/tests/registry.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/advapi32/tests/registry.c b/dlls/advapi32/tests/registry.c
index 27b33194fc4..35df1b226f5 100644
--- a/dlls/advapi32/tests/registry.c
+++ b/dlls/advapi32/tests/registry.c
@@ -1338,9 +1338,9 @@ static void test_reg_create_key(void)
* the registry access check is performed correctly. Redirection isn't
* being tested, so the tests don't care about whether the process is
* running under WOW64. */
- if (!pIsWow64Process)
+ if (!has_wow64())
{
- win_skip("WOW64 flags are not recognized\n");
+ skip("WOW64 flags are not recognized\n");
return;
}