advapi32/tests: Skip tests for ACL file info if ACL info not stored (try 2)

Alexandre Julliard julliard at winehq.org
Wed Nov 18 04:43:16 CST 2009


Austin Lund <austin.lund at gmail.com> writes:

> 2009/11/18 Alexandre Julliard <julliard at winehq.org>:
>>
>> Testing file system flags is not a good idea, that won't work on
>> Wine. It's better to test the results of the actual call.
>>
>
> The reason this test fails for me is because I have a FAT32 volume and
> there is no ACL info stored, so the tests:
>
>     ok(dacl != NULL, "GetSecurityInfo\n");
>     ok(IsValidAcl(dacl), "GetSecurityInfo\n");
>
> clearly will fail.  Unless there is another way to find out if the ACL
> information is persistent, then the only option left is to remove
> these tests otherwise they will always fail when running on a FAT32
> drive.

That doesn't mean you have to remove it all, just don't treat the case
of dacl being NULL as an error.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list