From a2eb5999cb34b4412297f0dbeef41958ae533df0 Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Fri, 17 Mar 2017 11:53:50 +0000 Subject: [PATCH] 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 Signed-off-by: Alexandre Julliard --- 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 07309abc480..9b0e7a78cf0 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++)