sys: FspFsvolSetRenameInformation: when doing an exact case rename do not send it to the user mode file system

This commit is contained in:
Bill Zissimopoulos
2016-10-19 16:15:23 -07:00
parent 2ff60e5e98
commit 03611b6210
2 changed files with 17 additions and 1 deletions

View File

@ -568,6 +568,9 @@ static void rename_caseins_dotest(ULONG Flags, PWSTR Prefix, ULONG FileInfoTimeo
Success = CreateDirectoryW(Dir1Path, 0);
ASSERT(Success);
Success = MoveFileExW(Dir1Path, Dir1Path, 0);
ASSERT(Success);
Success = MoveFileExW(Dir1Path, Dir2Path, 0);
ASSERT(Success);
@ -580,6 +583,9 @@ static void rename_caseins_dotest(ULONG Flags, PWSTR Prefix, ULONG FileInfoTimeo
ASSERT(INVALID_HANDLE_VALUE != Handle);
CloseHandle(Handle);
Success = MoveFileExW(File1Path, File1Path, 0);
ASSERT(Success);
Success = MoveFileExW(File1Path, File2Path, 0);
ASSERT(Success);