Commit 24d2f694 authored by Alexandre Julliard's avatar Alexandre Julliard

msi/tests: Fix a test failure on win2k.

parent b98c8ce5
......@@ -958,7 +958,8 @@ static void test_MsiQueryFeatureState(void)
state = MsiQueryFeatureStateA("{6700E8CF-95AB-4D9C-BC2C-15840DEA7A5D}", "feature");
error = GetLastError();
ok(state == INSTALLSTATE_UNKNOWN, "Expected INSTALLSTATE_UNKNOWN, got %d\n", state);
ok(error == ERROR_SUCCESS, "expected ERROR_SUCCESS, got %u\n", error);
ok(error == ERROR_SUCCESS || broken(error == ERROR_ALREADY_EXISTS) /* win2k */,
"expected ERROR_SUCCESS, got %u\n", error);
/* same length as guid, but random */
SetLastError(0xdeadbeef);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment