[advpack] Remove test that crashes on systems with IE7

Paul Vriens paul.vriens.wine at gmail.com
Fri Nov 24 03:12:58 CST 2006


Hi,

this test crashes on my W2K3 server with IE7. I also saw an XP box with IE7
(test.winehq.org) that had this test crash and is running IE7.

Changelog
  Remove test that crashes on systems with IE7

Cheers,

Paul.
---
 dlls/advpack/tests/advpack.c |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/dlls/advpack/tests/advpack.c b/dlls/advpack/tests/advpack.c
index ff812f3..be3fb46 100644
--- a/dlls/advpack/tests/advpack.c
+++ b/dlls/advpack/tests/advpack.c
@@ -434,10 +434,14 @@ static void setperusersecvalues_test(voi
     peruser.bRollback = FALSE;
 
     /* try a NULL pPerUser */
-    hr = pSetPerUserSecValues(NULL);
-    todo_wine
-    ok(hr == S_OK, "Expected S_OK, got %d\n", hr);
-    ok(!OPEN_GUID_KEY(), "Expected guid key to not exist\n");
+    if (0)
+    {
+        /* This crashes on systems with IE7 */
+        hr = pSetPerUserSecValues(NULL);
+        todo_wine
+        ok(hr == S_OK, "Expected S_OK, got %d\n", hr);
+        ok(!OPEN_GUID_KEY(), "Expected guid key to not exist\n");
+    }
 
     /* at the very least, szGUID must be valid */
     peruser.szGUID[0] = '\0';
-- 
1.4.4.1




More information about the wine-patches mailing list