Detlef Riekenberg : advapi32/tests: Accept win8 failure code.

Alexandre Julliard julliard at winehq.org
Tue Dec 11 14:41:15 CST 2012


Module: wine
Branch: master
Commit: fa59d1e5d790fd6dbd8e7b44f93a56991bf76019
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=fa59d1e5d790fd6dbd8e7b44f93a56991bf76019

Author: Detlef Riekenberg <wine.dev at web.de>
Date:   Tue Dec 11 18:10:29 2012 +0100

advapi32/tests: Accept win8 failure code.

---

 dlls/advapi32/tests/registry.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/advapi32/tests/registry.c b/dlls/advapi32/tests/registry.c
index 307d1c7..33b5d9b 100644
--- a/dlls/advapi32/tests/registry.c
+++ b/dlls/advapi32/tests/registry.c
@@ -823,7 +823,8 @@ static void test_get_value(void)
 
     /* Query REG_EXPAND_SZ using RRF_RT_REG_EXPAND_SZ (not allowed without RRF_NOEXPAND) */
     ret = pRegGetValueA(hkey_main, NULL, "TP1_EXP_SZ", RRF_RT_REG_EXPAND_SZ, NULL, NULL, NULL);
-    ok(ret == ERROR_INVALID_PARAMETER, "ret=%d\n", ret);
+    /* before win8: ERROR_INVALID_PARAMETER, win8: ERROR_UNSUPPORTED_TYPE */
+    ok(ret == ERROR_INVALID_PARAMETER || ret == ERROR_UNSUPPORTED_TYPE, "ret=%d\n", ret);
 
     /* Query REG_EXPAND_SZ using RRF_RT_ANY */
     buf[0] = 0; type = 0xdeadbeef; size = sizeof(buf);




More information about the wine-cvs mailing list