Juan Lang : mapi32: Fix failing tests on some Win9x versions.

Alexandre Julliard julliard at winehq.org
Thu Feb 5 09:21:22 CST 2009


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

Author: Juan Lang <juan.lang at gmail.com>
Date:   Wed Feb  4 14:39:20 2009 -0800

mapi32: Fix failing tests on some Win9x versions.

---

 dlls/mapi32/tests/prop.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/mapi32/tests/prop.c b/dlls/mapi32/tests/prop.c
index 92198a9..8bee893 100644
--- a/dlls/mapi32/tests/prop.c
+++ b/dlls/mapi32/tests/prop.c
@@ -627,7 +627,8 @@ static void test_LPropCompareProp(void)
             }
 
             iRet = pLPropCompareProp(&pvLeft, &pvRight);
-            ok(iRet == iExp, "pt %d (%d,%d): expected %d, got %d\n", ptTypes[i],
+            ok(iRet == iExp || broken(iRet == 0) /* Win9x */,
+               "pt %d (%d,%d): expected %d, got %d\n", ptTypes[i],
                LPCProp_Results[j].lVal, LPCProp_Results[j].rVal, iExp, iRet);
         }
     }




More information about the wine-cvs mailing list