Hans Leidekker : msi/tests: Skip a test if the process is limited.

Alexandre Julliard julliard at winehq.org
Wed Aug 24 14:05:21 CDT 2011


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

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Wed Aug 24 10:22:17 2011 +0200

msi/tests: Skip a test if the process is limited.

---

 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);




More information about the wine-cvs mailing list