comctl32/tests: Mark win8 behaviour as broken

André Hentschel nerv at dawncrow.de
Wed Feb 20 16:37:45 CST 2013


---
 dlls/comctl32/tests/status.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/comctl32/tests/status.c b/dlls/comctl32/tests/status.c
index d8b3dbe..4870910 100644
--- a/dlls/comctl32/tests/status.c
+++ b/dlls/comctl32/tests/status.c
@@ -492,7 +492,7 @@ static void test_gettext(void)
     expect(4, r);
     /* A size of 0 returns the length of the text */
     r = SendMessage(hwndStatus, WM_GETTEXT, 0, 0);
-    expect(4, r);
+    ok( r == 4 || broken(r == 2) /* win8 */, "Expected 4 got %d\n", r );
     /* A size of 1 only stores the NULL terminator */
     buf[0] = 0xa;
     r = SendMessage(hwndStatus, WM_GETTEXT, 1, (LPARAM)buf);
-- 
1.8.0


-- 

Best Regards, André Hentschel


More information about the wine-patches mailing list