Paul Vriens : shell32/tests: Fix a test failure on some Win95 boxes and NT4 .
Alexandre Julliard
julliard at winehq.org
Mon Jun 15 07:59:05 CDT 2009
Module: wine
Branch: master
Commit: 397e7ed31d76bac17c4628a1e97d4353ce6bf99b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=397e7ed31d76bac17c4628a1e97d4353ce6bf99b
Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date: Sat Jun 13 16:29:02 2009 +0200
shell32/tests: Fix a test failure on some Win95 boxes and NT4.
---
dlls/shell32/tests/appbar.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/shell32/tests/appbar.c b/dlls/shell32/tests/appbar.c
index e23d728..dbb75b9 100644
--- a/dlls/shell32/tests/appbar.c
+++ b/dlls/shell32/tests/appbar.c
@@ -399,7 +399,9 @@ static void test_appbarget(void)
if(ret)
{
ok(abd.hWnd == (HWND)0xcccccccc, "hWnd overwritten\n");
- ok(abd.uEdge <= ABE_BOTTOM, "uEdge not returned\n");
+ ok(abd.uEdge <= ABE_BOTTOM ||
+ broken(abd.uEdge == 0xcccccccc), /* Some Win95 and NT4 */
+ "uEdge not returned\n");
ok(abd.rc.left != 0xcccccccc, "rc not updated\n");
}
More information about the wine-cvs
mailing list