https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a71d80239dbf29e578995…
commit a71d80239dbf29e578995c04415486cece2ac99b
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Thu Sep 12 10:03:41 2024 +0300
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Sun Sep 15 19:28:07 2024 +0300
[ADVAPI32_APITEST] #if out 2 tests for x64 that fail on Windows 2003 x64
---
modules/rostests/apitests/advapi32/QueryServiceConfig2.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/modules/rostests/apitests/advapi32/QueryServiceConfig2.c
b/modules/rostests/apitests/advapi32/QueryServiceConfig2.c
index a9bc478efc8..a8260366fca 100644
--- a/modules/rostests/apitests/advapi32/QueryServiceConfig2.c
+++ b/modules/rostests/apitests/advapi32/QueryServiceConfig2.c
@@ -225,8 +225,9 @@ static int QueryConfig2W(SC_HANDLE hService, LPCWSTR serviceName,
DWORD dwInfoLe
/* Check the values */
ok(lpFailureActions1->dwResetPeriod ==
lpFailureActions2->dwResetPeriod, "lpFailureActions1->dwResetPeriod !=
lpFailureActions2->dwResetPeriod\n");
+#ifndef _M_AMD64 // Fails on Win 2003 x64
ok(lpFailureActions1->cActions == lpFailureActions2->cActions,
"lpFailureActions1->cActions != lpFailureActions2->cActions\n");
-
+#endif
/* Compare the actions */
if (lpFailureActions1->cActions == lpFailureActions2->cActions)
{
@@ -417,7 +418,9 @@ static int QueryConfig2A(SC_HANDLE hService, LPCSTR serviceName, DWORD
dwInfoLev
/* Check the values */
ok(lpFailureActions1->dwResetPeriod ==
lpFailureActions2->dwResetPeriod, "lpFailureActions1->dwResetPeriod !=
lpFailureActions2->dwResetPeriod\n");
+#ifndef _M_AMD64 // Fails on Win 2003 x64
ok(lpFailureActions1->cActions == lpFailureActions2->cActions,
"lpFailureActions1->cActions != lpFailureActions2->cActions\n");
+#endif
/* Compare the actions */
if (lpFailureActions1->cActions == lpFailureActions2->cActions)