Juan Lang : mapi32: Fix some test failures on Win9x.
Alexandre Julliard
julliard at winehq.org
Tue Feb 3 09:13:05 CST 2009
Module: wine
Branch: master
Commit: 70c572feefeb7edd62c5f101ef7de3cf3c442baf
URL: http://source.winehq.org/git/wine.git/?a=commit;h=70c572feefeb7edd62c5f101ef7de3cf3c442baf
Author: Juan Lang <juan.lang at gmail.com>
Date: Mon Feb 2 10:20:19 2009 -0800
mapi32: Fix some test failures on Win9x.
---
dlls/mapi32/tests/util.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/mapi32/tests/util.c b/dlls/mapi32/tests/util.c
index 2ae42f1..9645a82 100644
--- a/dlls/mapi32/tests/util.c
+++ b/dlls/mapi32/tests/util.c
@@ -151,7 +151,8 @@ static void test_CbOfEncoded(void)
memset(buff, '\0', sizeof(buff));
memset(buff, '?', i);
ulRet = pCbOfEncoded(buff);
- ok(ulRet == ulExpected, "CbOfEncoded(length %d): expected %d, got %d\n",
+ ok(ulRet == ulExpected || broken(ulExpected == 0) /* Win9x */,
+ "CbOfEncoded(length %d): expected %d, got %d\n",
i, ulExpected, ulRet);
}
}
More information about the wine-cvs
mailing list