mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 11:21:51 +00:00
[SHELL32_APITEST] Fixed SimpleIDListFromPath and SHGetFileInfo tests on NT5 (#8038)
This commit is contained in:
parent
4bdbb3092c
commit
c03d7794b8
2 changed files with 2 additions and 2 deletions
|
@ -177,7 +177,7 @@ START_TEST(SHSimpleIDListFromPath)
|
|||
}
|
||||
|
||||
LPITEMIDLIST pidl;
|
||||
ok_int((pidl = SHSimpleIDListFromPath(L"c:")) != NULL, TRUE);
|
||||
ok_int((pidl = SHSimpleIDListFromPath(L"c:")) != NULL, LOBYTE(GetVersion()) >= 6);
|
||||
ILFree(pidl);
|
||||
ok_int((pidl = SHSimpleIDListFromPath(L"c:\\")) != NULL, TRUE);
|
||||
ILFree(pidl);
|
||||
|
|
|
@ -61,7 +61,7 @@ START_TEST(SHGetFileInfo)
|
|||
my_ok_all_flags(info.dwAttributes, SFGAO_FILESYSTEM | SFGAO_STREAM);
|
||||
|
||||
info.dwAttributes = ~SFGAO_VALIDATE;
|
||||
ok_int(SHGFI(L"c:", info, flags | SHGFI_ATTR_SPECIFIED), TRUE); // ROS fails this, a parsing bug in CDrivesFolder?
|
||||
ok_int(SHGFI(L"c:", info, flags | SHGFI_ATTR_SPECIFIED), LOBYTE(GetVersion()) >= 6);
|
||||
my_ok_all_flags(info.dwAttributes, SFGAO_FILESYSTEM | SFGAO_FILESYSANCESTOR);
|
||||
|
||||
info.dwAttributes = ~SFGAO_VALIDATE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue