Commit 3dd7c607 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

advapi32/test: Fix test failures on filesystems where compression is enabled.

parent 77f5f01b
......@@ -855,7 +855,7 @@ cleanup:
ok(rc, "GetTempFileName error %d\n", GetLastError());
rc = GetFileAttributesA(file);
rc &= ~FILE_ATTRIBUTE_NOT_CONTENT_INDEXED;
rc &= ~(FILE_ATTRIBUTE_NOT_CONTENT_INDEXED|FILE_ATTRIBUTE_COMPRESSED);
ok(rc == FILE_ATTRIBUTE_ARCHIVE, "expected FILE_ATTRIBUTE_ARCHIVE got %#x\n", rc);
retSize = 0xdeadbeef;
......@@ -966,7 +966,7 @@ cleanup:
CloseHandle(fh);
rc = GetFileAttributesA(file);
rc &= ~FILE_ATTRIBUTE_NOT_CONTENT_INDEXED;
rc &= ~(FILE_ATTRIBUTE_NOT_CONTENT_INDEXED|FILE_ATTRIBUTE_COMPRESSED);
todo_wine
ok(rc == (FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_READONLY),
"expected FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_READONLY got %#x\n", rc);
......@@ -990,7 +990,7 @@ todo_wine
CloseHandle(fh);
rc = GetFileAttributesA(file);
rc &= ~FILE_ATTRIBUTE_NOT_CONTENT_INDEXED;
rc &= ~(FILE_ATTRIBUTE_NOT_CONTENT_INDEXED|FILE_ATTRIBUTE_COMPRESSED);
ok(rc == (FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_READONLY),
"expected FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_READONLY got %#x\n", rc);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment