https://git.reactos.org/?p=reactos.git;a=commitdiff;h=b4bf2cda31fa871e2e07c1561392ee8bd53aee44

commit b4bf2cda31fa871e2e07c1561392ee8bd53aee44
Author:     Mark Jansen <[email protected]>
AuthorDate: Mon Jan 30 20:03:06 2023 +0100
Commit:     Mark Jansen <[email protected]>
CommitDate: Wed Feb 1 00:42:32 2023 +0100

    [DBGHELP_APITEST] Be less strict on error codes
---
 modules/rostests/apitests/dbghelp/rsym.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/rostests/apitests/dbghelp/rsym.c 
b/modules/rostests/apitests/dbghelp/rsym.c
index 22aee9abea5..40cf3a254ca 100644
--- a/modules/rostests/apitests/dbghelp/rsym.c
+++ b/modules/rostests/apitests/dbghelp/rsym.c
@@ -321,7 +321,7 @@ START_TEST(rsym)
         dwErr = GetLastError();
 
         ok_ulonglong(BaseAddress, 0x600000);
-        ok_hex(dwErr, ERROR_SUCCESS);
+        ok(dwErr == ERROR_SUCCESS || dwErr == ERROR_FILE_NOT_FOUND, "Got 
0x%x\n", dwErr);
 
         if (BaseAddress == 0x600000)
         {

Reply via email to