Huw Davies : inetcomm/tests: AddRef on the stream doesn' t return the ref count on win95.

Alexandre Julliard julliard at winehq.org
Wed Feb 18 10:15:21 CST 2009


Module: wine
Branch: master
Commit: 6660d1dc38e12cd6a01db508288212406027f32b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6660d1dc38e12cd6a01db508288212406027f32b

Author: Huw Davies <huw at codeweavers.com>
Date:   Tue Feb 17 15:43:09 2009 +0000

inetcomm/tests: AddRef on the stream doesn't return the ref count on win95.

---

 dlls/inetcomm/tests/mimeole.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/dlls/inetcomm/tests/mimeole.c b/dlls/inetcomm/tests/mimeole.c
index 1f29abb..7edef67 100644
--- a/dlls/inetcomm/tests/mimeole.c
+++ b/dlls/inetcomm/tests/mimeole.c
@@ -324,7 +324,9 @@ static void test_CreateMessage(void)
     IMimeMessage_Release(msg);
 
     ref = IStream_AddRef(stream);
-    ok(ref == 2, "ref %d\n", ref);
+    ok(ref == 2 ||
+       broken(ref == 1), /* win95 */
+       "ref %d\n", ref);
     IStream_Release(stream);
 
     IStream_Release(stream);




More information about the wine-cvs mailing list