[2/3] msi/tests: Skip a test if the process is limited.

Hans Leidekker hans at codeweavers.com
Wed Aug 24 03:22:17 CDT 2011


---
 dlls/msi/tests/action.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/dlls/msi/tests/action.c b/dlls/msi/tests/action.c
index aac601f..90832af 100644
--- a/dlls/msi/tests/action.c
+++ b/dlls/msi/tests/action.c
@@ -4721,6 +4721,12 @@ static void test_create_remove_folder(void)
 {
     UINT r;
 
+    if (is_process_limited())
+    {
+        skip("process is limited\n");
+        return;
+    }
+
     CreateDirectoryA("msitest", NULL);
     CreateDirectoryA("msitest\\first", NULL);
     CreateDirectoryA("msitest\\second", NULL);
-- 
1.7.4.1







More information about the wine-patches mailing list