Commit c93c68b0 authored by Ge van Geldorp's avatar Ge van Geldorp Committed by Alexandre Julliard

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

parent e1b5ca70
...@@ -353,7 +353,8 @@ static void test_CList(void) ...@@ -353,7 +353,8 @@ static void test_CList(void)
InitDummyStream(&streamobj); InitDummyStream(&streamobj);
streamobj.failwritesize = TRUE; streamobj.failwritesize = TRUE;
hRet = pSHLWAPI_17(&streamobj, list); 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.writecalls == 1, "called object after size failure\n");
ok(streamobj.readcalls == 0,"called Read() after failure\n"); ok(streamobj.readcalls == 0,"called Read() after failure\n");
ok(streamobj.seekcalls == 0,"called Seek() after failure\n"); ok(streamobj.seekcalls == 0,"called Seek() after failure\n");
......
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