From 4ff1b1a9cb755ec003d2657eb65c6cfa9ff2c2e0 Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Mon, 25 Jan 2016 15:41:28 -0800 Subject: [PATCH] winfsp-tests: fileinfo-test: GetFileInformationByHandle --- tst/winfsp-tests/fileinfo-test.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tst/winfsp-tests/fileinfo-test.c b/tst/winfsp-tests/fileinfo-test.c index a8a6d396..37c52839 100644 --- a/tst/winfsp-tests/fileinfo-test.c +++ b/tst/winfsp-tests/fileinfo-test.c @@ -97,7 +97,6 @@ void getinfo_dotest(ULONG Flags, PWSTR Prefix, ULONG FileInfoTimeout) else ASSERT(0 == memcmp(FilePath + 1, PNameInfo->FileName, PNameInfo->FileNameLength)); -#if 0 Success = GetFileInformationByHandle(Handle, &FileInfo); ASSERT(Success); //ASSERT(FILE_ATTRIBUTE_ARCHIVE == FileInfo.dwFileAttributes); @@ -113,7 +112,6 @@ void getinfo_dotest(ULONG Flags, PWSTR Prefix, ULONG FileInfoTimeout) TimeHi > ((PLARGE_INTEGER)&FileInfo.ftLastWriteTime)->QuadPart); ASSERT(0 == FileInfo.nFileSizeLow && 0 == FileInfo.nFileSizeHigh); ASSERT(1 == FileInfo.nNumberOfLinks); -#endif CloseHandle(Handle);