[NTDLL_APITEST]

- Add some more tests for RtlDoesFileExists_*, in particular passing NT paths
CORE-9523

svn path=/trunk/; revision=67334
This commit is contained in:
Thomas Faber 2015-04-21 10:50:12 +00:00
parent 45c2f87c87
commit 95ebf88866

View file

@ -139,6 +139,7 @@ START_TEST(RtlDoesFileExists)
{ L"C:\\/\\%ls", TRUE },
{ L"C:\\%ls\\", TRUE },
{ L"C:\\%ls\\ThisFolderExists", TRUE },
{ L"C:\\%ls\\ThisFolderExists\\", TRUE },
{ L"C:\\%ls\\ThisFolderExists ", TRUE },
{ L"C:\\%ls\\ThisFolderExists ", TRUE },
{ L"C:\\%ls\\ThisFolderExists ", TRUE },
@ -170,6 +171,13 @@ START_TEST(RtlDoesFileExists)
{ L"NUL", FALSE },
{ L"CON", FALSE },
{ L"COM1", FALSE },
{ L"\\?", FALSE },
{ L"\\??", FALSE },
{ L"\\??\\", FALSE },
{ L"\\??\\C", FALSE },
{ L"\\??\\C:", FALSE },
{ L"\\??\\C:\\", FALSE }, // TRUE on Win7
{ L"\\??\\C:\\%ls\\ThisFolderExists", FALSE }, // TRUE on Win7
};
ULONG i;
WCHAR FileName[MAX_PATH];