usp10/tests: Remove a test for a bug corrected in later versions of usp10.

The undocumented interaction with ScriptStringCPtoX causing
ScriptStringFree is an undocumented bug that appears to have been
fixed in later versions of Uniscribe. We should not be trying to
conform to that.
This commit is contained in:
Aric Stewart 2010-06-17 11:23:49 +09:00 committed by Alexandre Julliard
parent 660ead0847
commit 5c5e6a5fc9
1 changed files with 1 additions and 7 deletions

View File

@ -1388,13 +1388,7 @@ static void test_ScriptStringXtoCP_CPtoX(HDC hdc)
hr = ScriptStringCPtoX(ssa, Cp, fTrailing, &X);
ok(hr == E_INVALIDARG, "ScriptStringCPtoX should return E_INVALIDARG not %08x\n", hr);
hr = ScriptStringFree(&ssa);
/*
* ScriptStringCPtoX should free ssa, hence ScriptStringFree should fail
*/
ok(hr == E_INVALIDARG ||
hr == E_FAIL, /* win2k3 */
"ScriptStringFree should return E_INVALIDARG or E_FAIL not %08x\n", hr);
ScriptStringFree(&ssa);
}
}