mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-23 00:43:00 -05:00
winfsp-tests: getinfo_test
This commit is contained in:
parent
c34e70f7ab
commit
81bcbb9ea0
@ -48,6 +48,7 @@ void getinfo_dotest(ULONG Flags, PWSTR Prefix)
|
||||
Success = GetFileInformationByHandleEx(Handle, FileBasicInfo, &BasicInfo, sizeof BasicInfo);
|
||||
ASSERT(Success);
|
||||
//ASSERT(FILE_ATTRIBUTE_ARCHIVE == BasicInfo.FileAttributes);
|
||||
if (-1 != Flags)
|
||||
ASSERT(
|
||||
TimeLo <= BasicInfo.CreationTime.QuadPart &&
|
||||
TimeHi > BasicInfo.CreationTime.QuadPart);
|
||||
@ -99,6 +100,7 @@ void getinfo_dotest(ULONG Flags, PWSTR Prefix)
|
||||
Success = GetFileInformationByHandle(Handle, &FileInfo);
|
||||
ASSERT(Success);
|
||||
//ASSERT(FILE_ATTRIBUTE_ARCHIVE == FileInfo.dwFileAttributes);
|
||||
if (-1 != Flags)
|
||||
ASSERT(
|
||||
TimeLo <= ((PLARGE_INTEGER)&FileInfo.ftCreationTime)->QuadPart &&
|
||||
TimeHi > ((PLARGE_INTEGER)&FileInfo.ftCreationTime)->QuadPart);
|
||||
|
Loading…
x
Reference in New Issue
Block a user