Huw Davies : shell32/tests: Ignore the compressed attribute.
Alexandre Julliard
julliard at winehq.org
Fri Mar 17 15:19:46 CDT 2017
Module: wine
Branch: master
Commit: a2eb5999cb34b4412297f0dbeef41958ae533df0
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a2eb5999cb34b4412297f0dbeef41958ae533df0
Author: Huw Davies <huw at codeweavers.com>
Date: Fri Mar 17 11:53:50 2017 +0000
shell32/tests: Ignore the compressed attribute.
The Vista64 testbot VM reports its storage as compressed when run as a stand-alone job,
but not during a winetest run.
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/shell32/tests/shlfolder.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/shell32/tests/shlfolder.c b/dlls/shell32/tests/shlfolder.c
index 07309ab..9b0e7a7 100644
--- a/dlls/shell32/tests/shlfolder.c
+++ b/dlls/shell32/tests/shlfolder.c
@@ -454,7 +454,7 @@ static void test_EnumObjects(IShellFolder *iFolder)
flags = ~0u;
hr = IShellFolder_GetAttributesOf(iFolder, 1, (LPCITEMIDLIST*)(idlArr + i), &flags);
ok(hr == S_OK, "GetAttributesOf returns %08x\n", hr);
- ok((flags & ~SFGAO_HASSUBFOLDER) == full_attrs[i], "%d: got %08x expected %08x\n", i, flags, full_attrs[i]);
+ ok((flags & ~(SFGAO_HASSUBFOLDER|SFGAO_COMPRESSED)) == full_attrs[i], "%d: got %08x expected %08x\n", i, flags, full_attrs[i]);
}
for (i=0;i<5;i++)
More information about the wine-cvs
mailing list