From d7952d8a2427e30e645a14e4631817aa440c7d27 Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Wed, 24 Aug 2011 10:22:17 +0200 Subject: [PATCH] msi/tests: Skip a test if the process is limited. --- dlls/msi/tests/action.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dlls/msi/tests/action.c b/dlls/msi/tests/action.c index aac601ffdd0..90832afda3f 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);