Austin English : userenv/tests: Remove win9x hacks.

Alexandre Julliard julliard at winehq.org
Fri Feb 25 11:19:44 CST 2011


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

Author: Austin English <austinenglish at gmail.com>
Date:   Thu Feb 24 15:28:13 2011 -0800

userenv/tests: Remove win9x hacks.

---

 dlls/userenv/tests/userenv.c |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/dlls/userenv/tests/userenv.c b/dlls/userenv/tests/userenv.c
index 4fa257b..446870f 100644
--- a/dlls/userenv/tests/userenv.c
+++ b/dlls/userenv/tests/userenv.c
@@ -218,15 +218,12 @@ static void test_get_profiles_dir(void)
     char *profiles_dir, *buf, small_buf[1];
 
     l = RegOpenKeyExA(HKEY_LOCAL_MACHINE, ProfileListA, 0, KEY_READ, &key);
-    if (l)
-    {
-        win_skip("No ProfileList key (Win9x), skipping tests\n");
-        return;
-    }
+    ok(!l, "RegOpenKeyExA failed: %d\n", GetLastError());
+
     l = RegQueryValueExA(key, ProfilesDirectory, NULL, NULL, NULL, &cch);
     if (l)
     {
-        win_skip("No ProfilesDirectory value, skipping tests\n");
+        win_skip("No ProfilesDirectory value (NT4), skipping tests\n");
         return;
     }
     buf = HeapAlloc(GetProcessHeap(), 0, cch);




More information about the wine-cvs mailing list