=?UTF-8?Q?Lauri=20Kentt=C3=A4=20?=: kernel32/tests: Mask out FILE_ATTRIBUTE_COMPRESSED to prevent failures.

Alexandre Julliard julliard at winehq.org
Thu Dec 8 17:15:46 CST 2016


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

Author: Lauri Kenttä <lauri.kentta at gmail.com>
Date:   Wed Dec  7 22:06:14 2016 +0200

kernel32/tests: Mask out FILE_ATTRIBUTE_COMPRESSED to prevent failures.

Signed-off-by: Lauri Kenttä <lauri.kentta at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/kernel32/tests/file.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/kernel32/tests/file.c b/dlls/kernel32/tests/file.c
index f039cf9..70424db 100644
--- a/dlls/kernel32/tests/file.c
+++ b/dlls/kernel32/tests/file.c
@@ -457,6 +457,7 @@ static void test__lcreat( void )
         ok (!strcmp (filename, search_results.cFileName),
             "found unexpected name \"%s\"\n", search_results.cFileName);
         search_results.dwFileAttributes &= ~FILE_ATTRIBUTE_NOT_CONTENT_INDEXED;
+        search_results.dwFileAttributes &= ~FILE_ATTRIBUTE_COMPRESSED;
         ok (FILE_ATTRIBUTE_ARCHIVE==search_results.dwFileAttributes,
             "attributes of file \"%s\" are 0x%04x\n", search_results.cFileName,
             search_results.dwFileAttributes);




More information about the wine-cvs mailing list