[PATCH] comdlg32/tests: Mark a failure on w2k as broken
Detlef Riekenberg
wine.dev at web.de
Sun Aug 29 08:13:45 CDT 2010
---
dlls/comdlg32/tests/fontdlg.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/comdlg32/tests/fontdlg.c b/dlls/comdlg32/tests/fontdlg.c
index 57c1d90..0900535 100644
--- a/dlls/comdlg32/tests/fontdlg.c
+++ b/dlls/comdlg32/tests/fontdlg.c
@@ -138,7 +138,8 @@ static void test_ChooseFontA(void)
ok(cfa.iPointSize == expected_pointsize, "Expected %i, got %i\n", expected_pointsize, cfa.iPointSize);
ok(lfa.lfHeight == expected_lfheight, "Expected %i, got %i\n", expected_lfheight, lfa.lfHeight);
ok(lfa.lfWeight == FW_NORMAL, "Expected FW_NORMAL, got %i\n", lfa.lfWeight);
- ok(strcmp(lfa.lfFaceName, "Symbol") == 0, "Expected Symbol, got %s\n", lfa.lfFaceName);
+ ok((strcmp(lfa.lfFaceName, "Symbol") == 0) ||
+ broken(*lfa.lfFaceName == 0), "Expected Symbol, got %s\n", lfa.lfFaceName);
DeleteDC(printer_ic);
}
--
1.7.0.4
More information about the wine-patches
mailing list