userenv/tests: Remove win9x hacks.
This commit is contained in:
parent
21d6fc9643
commit
04b5763923
|
@ -218,15 +218,12 @@ static void test_get_profiles_dir(void)
|
||||||
char *profiles_dir, *buf, small_buf[1];
|
char *profiles_dir, *buf, small_buf[1];
|
||||||
|
|
||||||
l = RegOpenKeyExA(HKEY_LOCAL_MACHINE, ProfileListA, 0, KEY_READ, &key);
|
l = RegOpenKeyExA(HKEY_LOCAL_MACHINE, ProfileListA, 0, KEY_READ, &key);
|
||||||
if (l)
|
ok(!l, "RegOpenKeyExA failed: %d\n", GetLastError());
|
||||||
{
|
|
||||||
win_skip("No ProfileList key (Win9x), skipping tests\n");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
l = RegQueryValueExA(key, ProfilesDirectory, NULL, NULL, NULL, &cch);
|
l = RegQueryValueExA(key, ProfilesDirectory, NULL, NULL, NULL, &cch);
|
||||||
if (l)
|
if (l)
|
||||||
{
|
{
|
||||||
win_skip("No ProfilesDirectory value, skipping tests\n");
|
win_skip("No ProfilesDirectory value (NT4), skipping tests\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
buf = HeapAlloc(GetProcessHeap(), 0, cch);
|
buf = HeapAlloc(GetProcessHeap(), 0, cch);
|
||||||
|
|
Loading…
Reference in New Issue