advapi32/tests: Fix a test failure on NT4.
This commit is contained in:
parent
ec1c9492b0
commit
ee1f1bfb3f
|
@ -963,9 +963,10 @@ static void test_reg_open_key(void)
|
|||
|
||||
hkResult = NULL;
|
||||
ret = RegOpenKeyExA(HKEY_CLASSES_ROOT, "\\clsid", 0, KEY_QUERY_VALUE, &hkResult);
|
||||
ok(ret == ERROR_SUCCESS || /* NT/2k/XP */
|
||||
ok(ret == ERROR_SUCCESS || /* 2k/XP */
|
||||
ret == ERROR_BAD_PATHNAME || /* NT */
|
||||
ret == ERROR_FILE_NOT_FOUND /* Win9x,ME */
|
||||
, "expected ERROR_SUCCESS or ERROR_FILE_NOT_FOUND, got %d\n", ret);
|
||||
, "expected ERROR_SUCCESS, ERROR_BAD_PATHNAME or ERROR_FILE_NOT_FOUND, got %d\n", ret);
|
||||
RegCloseKey(hkResult);
|
||||
|
||||
/* WOW64 flags */
|
||||
|
|
Loading…
Reference in New Issue