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

commit 2cd219eb237a4f6cd1e8cb306db4d0dec0252577
Author:     Mark Jansen <[email protected]>
AuthorDate: Mon Jan 30 19:12:58 2023 +0100
Commit:     Mark Jansen <[email protected]>
CommitDate: Wed Feb 1 00:34:39 2023 +0100

    [ATL_APITEST] Ignore known to be bad values for type
---
 modules/rostests/apitests/atl/CRegKey.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/rostests/apitests/atl/CRegKey.cpp 
b/modules/rostests/apitests/atl/CRegKey.cpp
index 71c55ec0908..334cb3d73a3 100644
--- a/modules/rostests/apitests/atl/CRegKey.cpp
+++ b/modules/rostests/apitests/atl/CRegKey.cpp
@@ -81,7 +81,7 @@ START_TEST(CRegKey)
     memset(buffer, 0, sizeof(buffer));
     lret = key3.QueryValue(_T("APITEST_VALUE_NAME"), &type, buffer, 
&buffer_size);
     ok(lret == ERROR_ACCESS_DENIED, "Expected lret to be ERROR_ACCESS_DENIED, 
was: %lu\n", lret);
-    ok(type == 0 || broken(type == 203) || broken(type == 2292784), "Expected 
type to be 0, was: %lu\n", type);
+    ok(type == 0 || broken(type > 200), "Expected type to be 0, was: %lu\n", 
type);
     ok(buffer_size == sizeof(buffer), "Expected buffer_size to be %u, was: 
%lu\n", sizeof(buffer), buffer_size);
 
 

Reply via email to