shlwapi/tests: Add acceptable error code for Win7 clist test.

This commit is contained in:
Ge van Geldorp 2001-09-17 00:00:00 +02:00 committed by Alexandre Julliard
parent e1b5ca70bb
commit c93c68b0f4

View File

@ -353,7 +353,8 @@ static void test_CList(void)
InitDummyStream(&streamobj);
streamobj.failwritesize = TRUE;
hRet = pSHLWAPI_17(&streamobj, list);
ok(hRet == STG_E_MEDIUMFULL, "changed size failure return\n");
ok(hRet == STG_E_MEDIUMFULL || broken(hRet == E_FAIL) /* Win7 */,
"changed size failure return\n");
ok(streamobj.writecalls == 1, "called object after size failure\n");
ok(streamobj.readcalls == 0,"called Read() after failure\n");
ok(streamobj.seekcalls == 0,"called Seek() after failure\n");