From c6d9e68c3fe244361923c52e74cce672d60d42ab Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Fri, 3 Feb 2017 18:48:55 -0800 Subject: [PATCH] Revert "tst: winfsp-tests: getfileinfo_dotest: CREATE_ALWAYS instead of CREATE_NEW" This reverts commit dca3cb93f32c3d19526607a613bc762ec8a658d8. --- tst/winfsp-tests/info-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tst/winfsp-tests/info-test.c b/tst/winfsp-tests/info-test.c index d2092680..bac1e962 100644 --- a/tst/winfsp-tests/info-test.c +++ b/tst/winfsp-tests/info-test.c @@ -48,7 +48,7 @@ void getfileinfo_dotest(ULONG Flags, PWSTR Prefix, ULONG FileInfoTimeout) Handle = CreateFileW(FilePath, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, 0, - CREATE_ALWAYS/*CREATE_NEW*/, FILE_ATTRIBUTE_NORMAL | FILE_FLAG_DELETE_ON_CLOSE, 0); + CREATE_NEW, FILE_ATTRIBUTE_NORMAL | FILE_FLAG_DELETE_ON_CLOSE, 0); ASSERT(INVALID_HANDLE_VALUE != Handle); Success = GetFileInformationByHandleEx(Handle, FileAttributeTagInfo, &AttributeTagInfo, sizeof AttributeTagInfo);