[PATCH] msi/tests: Skip the deferred action test if the process is limited.

Hans Leidekker hans at codeweavers.com
Tue Feb 20 05:06:09 CST 2018


Signed-off-by: Hans Leidekker <hans at codeweavers.com>
---
 dlls/msi/tests/install.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/dlls/msi/tests/install.c b/dlls/msi/tests/install.c
index acbf1629a5..7612a00785 100644
--- a/dlls/msi/tests/install.c
+++ b/dlls/msi/tests/install.c
@@ -5924,6 +5924,12 @@ static void test_deferred_action(void)
 {
     UINT r;
 
+    if (is_process_limited())
+    {
+        skip( "process is limited\n" );
+        return;
+    }
+
     create_database(msifile, da_tables, sizeof(da_tables) / sizeof(da_tables[0]));
 
     MsiSetInternalUI(INSTALLUILEVEL_NONE, NULL);
-- 
2.11.0




More information about the wine-devel mailing list