msi [1/2]: Disable a test until the cabinet files are correctly built

James Hawkins truiken at gmail.com
Thu Oct 26 13:53:31 CDT 2006


Hi,

We get a popup in Windows too because we don't build the cabs.

Changelog:
* Disable a test until the cabinet files are correctly built.

 dlls/msi/tests/install.c |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

-- 
James Hawkins
-------------- next part --------------
diff --git a/dlls/msi/tests/install.c b/dlls/msi/tests/install.c
index aed5a78..832f887 100644
--- a/dlls/msi/tests/install.c
+++ b/dlls/msi/tests/install.c
@@ -798,23 +798,26 @@ #endif
 
 static void test_continuouscabs(void)
 {
-    UINT r;
-
     create_cc_test_files();
     create_database(msifile, cc_tables, sizeof(cc_tables) / sizeof(msi_table));
 
+    /* enable this test when the cabinet files are correctly built,
+     * otherwise we get a message box popup
+     */
+#if 0
     r = MsiInstallProductA(msifile, NULL);
     todo_wine
     {
         ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %u\n", r);
     }
+#endif
 
     todo_wine
     {
         ok(delete_pf("msitest\\maximus", TRUE), "File not installed\n");
         ok(delete_pf("msitest\\augustus", TRUE), "File not installed\n");
+        ok(delete_pf("msitest", FALSE), "File not installed\n");
     }
-    ok(delete_pf("msitest", FALSE), "File not installed\n");
 
     DeleteFile("test1.cab");
     DeleteFile("test2.cab");
-- 
1.4.2.1


More information about the wine-patches mailing list